chengxihan / hanet-cd Goto Github PK
View Code? Open in Web Editor NEWHANet: A Hierarchical Attention Network for Change Detection
HANet: A Hierarchical Attention Network for Change Detection
Author I would like to ask a question, why is the log recorded in the val section of the train code using mean_train_metrics?
Traceback (most recent call last):
File "Output_Results.py", line 39, in
model = torch.load(path)
File "/root/miniconda3/lib/python3.8/site-packages/torch/serialization.py", line 712, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "/root/miniconda3/lib/python3.8/site-packages/torch/serialization.py", line 1046, in _load
result = unpickler.load()
File "/root/miniconda3/lib/python3.8/site-packages/torch/serialization.py", line 1039, in find_class
return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'models.MSPSNetHCX'
我在加载您的训练结果模型时出现了以下情况,似乎在您的训练结果之后还修改过代码结构,不知道您是否方便更新代码,或者给我字典形式的模型参数
I want to check the results, and request you to please share the pre-trained modea l. i do not have good GPU to train.
Traceback (most recent call last):
File "E:\Futherstudy\change-detection\reproduction\HANet-CD-main\test.py", line 36, in
model = torch.load(path)
File "D:\ANACONDA\envs\d2l\lib\site-packages\torch\serialization.py", line 712, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "D:\ANACONDA\envs\d2l\lib\site-packages\torch\serialization.py", line 1049, in _load
result = unpickler.load()
File "D:\ANACONDA\envs\d2l\lib\site-packages\torch\serialization.py", line 1042, in find_class
return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'models.MSPSNetHCX'
Process finished with exit code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.