fudan-zvg / SETR

[CVPR 2021] Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformers
MIT License
1.05k stars 150 forks source link

AttributeError: module 'torch.distributed' has no attribute 'group' #29

Closed Frances1996 closed 2 years ago

Frances1996 commented 3 years ago

Hi, thanks for providing the code, When I use SETR_MLA_480x480_80k_pascal_context_bs_8.py and SETR_MLA_pascal_context_b8_80k.pth, I met this error:"AttributeError: module 'torch.distributed' has no attribute 'group'". How can I solve this on windows? Below is my environment: pytorch 1.6.0 mmcv 1.2.6 mmcv-full 1.1.5

sixiaozheng commented 2 years ago

Maybe your environment is installed incorrectly, please refer to the A from-scratch setup script in the README.md to reinstall the environment.