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: 'Namespace' object has no attribute 'sync_bn' #23

Open
xmz123456 opened this issue Nov 22, 2021 · 1 comment
Open

AttributeError: 'Namespace' object has no attribute 'sync_bn' #23

xmz123456 opened this issue Nov 22, 2021 · 1 comment

Comments

@xmz123456
Copy link

Thank you for sharing this code!
I have a small question, when I run the train_ms_robot. py file, I always get an error, AttributeError: 'Namespace' object has no attribute 'sync_bn'.

@layumi
Copy link
Owner

layumi commented Nov 23, 2021

I am not sure the reason.
This error seems to missing this line
https://github.com/layumi/Seg-Uncertainty/blob/master/train_ms_robot.py#L166
in the option definition.

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