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
Traceback (most recent call last):
File "tools/train.py", line 245, in
main()
File "tools/train.py", line 241, in main
meta=meta)
File "/mnt/data/Co-DETR/tools/mmdet/apis/train.py", line 187, in train_detector
elif distributed and 'type' not in cfg.optimizer_config:
File "/mnt/data/miniconda/envs/co-detr/lib/python3.7/site-packages/mmcv/utils/config.py", line 513, in getattr
return getattr(self._cfg_dict, name)
File "/mnt/data/miniconda/envs/co-detr/lib/python3.7/site-packages/mmcv/utils/config.py", line 49, in getattr
raise ex
AttributeError: 'ConfigDict' object has no attribute 'optimizer_config'
The text was updated successfully, but these errors were encountered:
fp16_cfg = cfg.get('fp16', None)
if fp16_cfg is not None:
optimizer_config = Fp16OptimizerHook(
**cfg.optimizer_config, **fp16_cfg, distributed=distributed)
elif distributed and 'type' not in cfg.optimizer_config:
optimizer_config = OptimizerHook(**cfg.optimizer_config)
else:
optimizer_config = cfg.optimizer_config
Traceback (most recent call last):
File "tools/train.py", line 245, in
main()
File "tools/train.py", line 241, in main
meta=meta)
File "/mnt/data/Co-DETR/tools/mmdet/apis/train.py", line 187, in train_detector
elif distributed and 'type' not in cfg.optimizer_config:
File "/mnt/data/miniconda/envs/co-detr/lib/python3.7/site-packages/mmcv/utils/config.py", line 513, in getattr
return getattr(self._cfg_dict, name)
File "/mnt/data/miniconda/envs/co-detr/lib/python3.7/site-packages/mmcv/utils/config.py", line 49, in getattr
raise ex
AttributeError: 'ConfigDict' object has no attribute 'optimizer_config'
The text was updated successfully, but these errors were encountered: