Thanks for sharing your interesting work! When trying to run the script: run.sh. I met the following error.
Traceback (most recent call last):
File "tools/train.py", line 10, in <module>
from mmcv import Config, DictAction
ImportError: cannot import name 'Config' from 'mmcv' (/home/stanliu/.local/lib/python3.8/site-packages/mmcv/__init__.py)
Traceback (most recent call last):
File "/home/stanliu/storage/mnt/miniconda3/envs/openmmlab/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/stanliu/storage/mnt/miniconda3/envs/openmmlab/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/stanliu/storage/mnt/miniconda3/envs/tracking/lib/python3.8/site-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/home/stanliu/storage/mnt/miniconda3/envs/tracking/lib/python3.8/site-packages/torch/distributed/launch.py", line 255, in main
raise subprocess.CalledProcessError(returncode=process.returncode,
subprocess.CalledProcessError: Command '['/home/stanliu/storage/mnt/miniconda3/envs/openmmlab/bin/python3', '-u', 'tools/train.py', '--local_rank=7', 'configs/fsd/fsd_waymoD1_1x.py', '--launcher', 'pytorch', '--work-dir', './work_dirs/fsd_waymoD1_1x/', '--cfg-options', 'evaluation.pklfile_prefix=./work_dirs/fsd_waymoD1_1x/results', 'evaluation.metric=fast', '--seed', '1']' returned non-zero exit status 1.
I think this is probably because of the newer version of MMDetection3D, which is the default version users will have if they install now by following the overall installation instruction. Because they have moved Config, DictAction to mmengine now. Even if I fixed this by importing from mmengine, the runner folder is also removed from the mmcv package now. Is there any way to solve this without reinstalling MMDetection3D with the previous version? Thank you very much!
Dear Authors,
Thanks for sharing your interesting work! When trying to run the script:
run.sh
. I met the following error.I think this is probably because of the newer version of MMDetection3D, which is the default version users will have if they install now by following the overall installation instruction. Because they have moved
Config, DictAction
tommengine
now. Even if I fixed this by importing frommmengine
, therunner
folder is also removed from the mmcv package now. Is there any way to solve this without reinstalling MMDetection3D with the previous version? Thank you very much!Here, I provide the package versions: