layumi / Seg-Uncertainty

IJCAI2020 & IJCV2021 :city_sunrise: Unsupervised Scene Adaptation with Memory Regularization in vivo
https://arxiv.org/abs/1912.11164
MIT License
386 stars 51 forks source link

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

Open xmz123456 opened 3 years ago

xmz123456 commented 3 years ago

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 commented 3 years ago

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.