boostcampaitech2 / object-detection-level2-cv-02

object-detection-level2-cv-02 created by GitHub Classroom
2 stars 4 forks source link

AttributeError: 'ConfigDict' object has no attribute 'optimizer_config' #19

Closed binlee52 closed 3 years ago

binlee52 commented 3 years ago

Error Traceback

Traceback (most recent call last):
  File "tools/train.py", line 191, in <module>
    main()
  File "tools/train.py", line 187, in main
    meta=meta)
  File "/opt/ml/detection/mmdetection/mmdet/apis/train.py", line 123, in train_detector
    optimizer_config = cfg.optimizer_config
  File "/opt/conda/envs/detection/lib/python3.7/site-packages/mmcv/utils/config.py", line 506, in __getattr__
    return getattr(self._cfg_dict, name)
  File "/opt/conda/envs/detection/lib/python3.7/site-packages/mmcv/utils/config.py", line 48, in __getattr__
    raise ex
AttributeError: 'ConfigDict' object has no attribute 'optimizer_config'