You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I train deeplabv3plus with my own dataset, there is a error:AttributeError: EncoderDecoder: ResNetV1c: 'super' object has no attribute '_specify_ddp_gpu_num'
#877
Closed
KenRamzes opened this issue
Sep 15, 2021
· 2 comments
Thanks for your error report and we appreciate it a lot.
Checklist
I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.
Describe the bug
A clear and concise description of what the bug is.
Reproduction
What command or script did you run?
“
bash ./tools/dist_train.sh configs/deeplabv3plus/woodscape/deeplabv3plus_r50-d8_769x769_80k_woodscape.py 4
”
Did you make any modifications on the code or config? Did you understand what you have modified?
yes, I customze a dataset and load it, but there is a error with sytnBN
What dataset did you use? Environment
sys.platform: linux
Python: 3.7.0 (default, Oct 9 2018, 10:31:47) [GCC 7.3.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: NVIDIA GeForce RTX 3090
CUDA_HOME: /usr/local/cuda
NVCC: Build cuda_11.1.TC455_06.29190527_0
GCC: gcc (GCC) 7.3.0
PyTorch: 1.9.0
PyTorch compiling details: PyTorch built with:
GCC 7.3
C++ Version: 201402
Intel(R) oneAPI Math Kernel Library Version 2021.3-Product Build 20210617 for Intel(R) 64 architecture applications
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./tools/train.py", line 170, in <module>
main()
File "./tools/train.py", line 137, in main
test_cfg=cfg.get('test_cfg'))
File "/mnt/data-1/data/junrui.xiao/mmsegmentation/mmseg/models/builder.py", line 49, in build_segmentor
cfg, default_args=dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/home/junrui.xiao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 210, in build
return self.build_func(*args, **kwargs, registry=self)
File "/home/junrui.xiao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/cnn/builder.py", line 26, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/home/junrui.xiao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 54, in build_from_cfg
raise type(e)(f'{obj_cls.__name__}: {e}')
AttributeError: EncoderDecoder: ResNetV1c: 'super' object has no attribute '_specify_ddp_gpu_num'
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
The text was updated successfully, but these errors were encountered:
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug
A clear and concise description of what the bug is.
Reproduction
What command or script did you run?
“
bash ./tools/dist_train.sh configs/deeplabv3plus/woodscape/deeplabv3plus_r50-d8_769x769_80k_woodscape.py 4
”
Did you make any modifications on the code or config? Did you understand what you have modified?
yes, I customze a dataset and load it, but there is a error with sytnBN
What dataset did you use?
Environment
sys.platform: linux
Python: 3.7.0 (default, Oct 9 2018, 10:31:47) [GCC 7.3.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: NVIDIA GeForce RTX 3090
CUDA_HOME: /usr/local/cuda
NVCC: Build cuda_11.1.TC455_06.29190527_0
GCC: gcc (GCC) 7.3.0
PyTorch: 1.9.0
PyTorch compiling details: PyTorch built with:
TorchVision: 0.10.0
OpenCV: 4.5.3
MMCV: 1.3.8
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.1
MMSegmentation: 0.17.0+56e18ba
Error traceback
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
The text was updated successfully, but these errors were encountered: