FoveaBox
FoveaBox copied to clipboard
Code version problem
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
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