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

AttributeError: 'YOLOv3' object has no attribute 'module'! #80

Open
xaohuicai opened this issue Mar 20, 2020 · 3 comments
Open

AttributeError: 'YOLOv3' object has no attribute 'module'! #80

xaohuicai opened this issue Mar 20, 2020 · 3 comments

Comments

@xaohuicai
Copy link

model.module.module_list[Drop_layer[i]].reset(block_size[i], keep_p[i])
torch.save(model.module.state_dict..)
all meet this problem,I don't know how to solve this.

@missbook520
Copy link

model.module.module_list[Drop_layer[i]].reset(block_size[i], keep_p[i])
torch.save(model.module.state_dict..)
all meet this problem,I don't know how to solve this.

may be you can replace it with model.state_dict..

@missbook520
Copy link

model.module.module_list[Drop_layer[i]].reset(block_size[i], keep_p[i])
torch.save(model.module.state_dict..)
all meet this problem,I don't know how to solve this.

are you meet the error?
RuntimeError: Function 'MulBackward0' returned nan values in its 1th output.

@xaohuicai
Copy link
Author

model.module.module_list[Drop_layer[i]].reset(block_size[i], keep_p[i])
torch.save(model.module.state_dict..)
all meet this problem,I don't know how to solve this.

may be you can replace it with model.state_dict..
thanks!I will try it.

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