Open kevinyang03 opened 10 months ago
help
Hi, what is your mmdet version?
hi,my mmdet version is 1.0rc1+unknown.This environment configuration can run normally on the old server, but this error occurred after switching to a new server.
What is your mmcv version? BTW, the version of mmdet is too old.
Prerequisite
Environment
cuda10.0 pytorch1.4.0 mmcv0.5.9
Reproduces the problem - code sample
File "/root/autodl-fs/cancer_detect_1220/TianChi/mmdetection/mmdet/apis/train.py", line 277, in _non_dist_train cfg.checkpoint_config, cfg.log_config) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/runner/runner.py", line 471, in register_training_hooks self.register_lr_hook(lr_config) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/runner/runner.py", line 402, in register_lr_hook hook = mmcv.build_from_cfg(lr_config, HOOKS) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/utils/registry.py", line 158, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'CosineAnnealingLrUpdaterHook is not in the hook registry'
Reproduces the problem - command or script
File "/root/autodl-fs/cancer_detect_1220/TianChi/mmdetection/mmdet/apis/train.py", line 277, in _non_dist_train cfg.checkpoint_config, cfg.log_config) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/runner/runner.py", line 471, in register_training_hooks self.register_lr_hook(lr_config) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/runner/runner.py", line 402, in register_lr_hook hook = mmcv.build_from_cfg(lr_config, HOOKS) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/utils/registry.py", line 158, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'CosineAnnealingLrUpdaterHook is not in the hook registry'
Reproduces the problem - error message
File "/root/autodl-fs/cancer_detect_1220/TianChi/mmdetection/mmdet/apis/train.py", line 277, in _non_dist_train cfg.checkpoint_config, cfg.log_config) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/runner/runner.py", line 471, in register_training_hooks self.register_lr_hook(lr_config) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/runner/runner.py", line 402, in register_lr_hook hook = mmcv.build_from_cfg(lr_config, HOOKS) File "/root/miniconda3/envs/mmyb/lib/python3.7/site-packages/mmcv/utils/registry.py", line 158, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'CosineAnnealingLrUpdaterHook is not in the hook registry'
Additional information
No response