Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when I tried to train DA_dehazing, the following errors occurred: #19

Open
June-2019 opened this issue Dec 14, 2020 · 1 comment
Open

Comments

@June-2019
Copy link

Traceback (most recent call last):
File "train.py", line 84, in
model = create_model(opt)
File "/home/wuz146/Projects/DA_dahazing/models/init.py", line 38, in create_model
instance.initialize(opt)
File "/home/wuz146/Projects/DA_dahazing/models/danet_model.py", line 138, in initialize
self.init_with_pretrained_model('R2S', self.opt.g_r2s_premodel)
File "/home/wuz146/Projects/DA_dahazing/models/base_model.py", line 142, in init_with_pretrained_model
net.load_state_dict(state_dict)
File "/home/wuz146/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1052, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for ResnetGenerator_depth:

@minhthien2206
Copy link

Did you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants