命令:
python tools/test.py projects/DiffusionDet/configs/diffusiondet_r50_fpn_500-proposals_1-step_crop-ms-480-800-450k_coco.py /data/zhangrui/mmdetection-master/checkpoints/diffusiondet_r50_fpn_500-proposals_1-step_crop-ms-480-800-450k_coco_20230215_090925-7d6ed504.pth
报错
无法找到model-index.yml
解决方案:
projects/DiffusionDet/configs/diffusiondet_r50_fpn_500-proposals_1-step_crop-ms-480-800-450k_coco.py文件修改如下:
base = [
# ‘mmdet::base/datasets/coco_detection.py’,
# ‘mmdet::base/schedules/schedule_1x.py’,
# ‘mmdet::base/default_runtime.py’
‘/data/zhangrui/mmdetection-master/configs/base/datasets/coco_detection.py’,
‘/data/zhangrui/mmdetection-master/configs/base/schedules/schedule_1x.py’,
‘/data/zhangrui/mmdetection-master/configs/base/default_runtime.py’
]