Open SHMCU opened 3 years ago
Same bug occur when trying to run python tools/get_flops.py configs/swin/upernet_swin_tiny_patch4_window7_512x512_160k_ade20k_pretrain_224x224_1K.py
to calculate GFLOPs. Seems like it's a bug caused by recent commit https://github.com/open-mmlab/mmsegmentation/commit/c11da07e182e5ffbda1d3ff35f39da044a1c38c9#diff-220e913fe1515768f468297de42055bae53515200c833bd4e85f74e3d5a0dddf
same bug
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?
Did you make any modifications on the code or config? Did you understand what you have modified? No modifications.
What dataset did you use? ADE20K
Environment
python mmseg/utils/collect_env.py
to collect necessary environment infomation and paste it here.$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Error traceback
If applicable, paste the error trackback here.
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!