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
(open-mmlab) fsr@ServerE1:~/code/FoveaBox$ python tools/train.py "/home/fsr/code/FoveaBox/configs/foveabox/fovea_r50_fpn_4gpu_2x_align.py"
2021-09-29 19:19:16,717 - mmdet - INFO - Distributed training: False
/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/models/builder.py:53: UserWarning: train_cfg and test_cfg is deprecated, please specify them in model
'please specify them in model', UserWarning)
/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/models/detectors/single_stage.py:29: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead
warnings.warn('DeprecationWarning: pretrained is deprecated, '
/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead
warnings.warn('DeprecationWarning: pretrained is deprecated, '
/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/datasets/api_wrappers/coco_api.py:22: UserWarning: mmpycocotools is deprecated. Please install official pycocotools by "pip install pycocotools"
UserWarning)
loading annotations into memory...
Done (t=9.58s)
creating index...
index created!
Traceback (most recent call last):
File "tools/train.py", line 103, in
main()
File "tools/train.py", line 99, in main
train_detector(model,datasets,cfg,distributed=distributed)
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/apis/train.py", line 71, in train_detector
seed=cfg.seed) for ds in dataset
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/apis/train.py", line 71, in
seed=cfg.seed) for ds in dataset
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/config.py", line 490, in getattr
return getattr(self._cfg_dict, name)
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/config.py", line 47, in getattr
raise ex
AttributeError: 'ConfigDict' object has no attribute 'gpu_ids'
When I ran the code this error occurred because the version of the code was too old to adapt to the new package.Can the author update a new version of the code
The text was updated successfully, but these errors were encountered:
CUDA:11.1
MMDET: 2.17
(open-mmlab) fsr@ServerE1:~/code/FoveaBox$ python tools/train.py "/home/fsr/code/FoveaBox/configs/foveabox/fovea_r50_fpn_4gpu_2x_align.py"
2021-09-29 19:19:16,717 - mmdet - INFO - Distributed training: False
/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/models/builder.py:53: UserWarning: train_cfg and test_cfg is deprecated, please specify them in model
'please specify them in model', UserWarning)
/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/models/detectors/single_stage.py:29: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead
warnings.warn('DeprecationWarning: pretrained is deprecated, '
/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead
warnings.warn('DeprecationWarning: pretrained is deprecated, '
/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/datasets/api_wrappers/coco_api.py:22: UserWarning: mmpycocotools is deprecated. Please install official pycocotools by "pip install pycocotools"
UserWarning)
loading annotations into memory...
Done (t=9.58s)
creating index...
index created!
Traceback (most recent call last):
File "tools/train.py", line 103, in
main()
File "tools/train.py", line 99, in main
train_detector(model,datasets,cfg,distributed=distributed)
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/apis/train.py", line 71, in train_detector
seed=cfg.seed) for ds in dataset
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/apis/train.py", line 71, in
seed=cfg.seed) for ds in dataset
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/config.py", line 490, in getattr
return getattr(self._cfg_dict, name)
File "/home/laocheng/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/config.py", line 47, in getattr
raise ex
AttributeError: 'ConfigDict' object has no attribute 'gpu_ids'
When I ran the code this error occurred because the version of the code was too old to adapt to the new package.Can the author update a new version of the code
The text was updated successfully, but these errors were encountered: