MMdetection3.0 报错data[‘category_id‘] = self.cat_ids[label] IndexError: list index out of range

MMdetection3.0 问题报错data[‘category_id’] = self.cat_ids[label] IndexError: list index out of range

痛苦,希望各位大佬看到后可以指教一下:
问题:在使用MMdetection3.0 训练NWPU-VHR-10数据时,使用Yolov3模型可以正常训练测试,但是当使用Faster-rcnn模型训练的时候,一直如下图所示错误。
1、按照网上各种修改意见修改了数据num_classes,也将原始文件的coco数据集下面的classes、pattle等参数作了修改,但是就是在其他模型可以,在faster-rcnn上面报如下图所是错误。
2、数据集是将NWPU-VHR-10数据集转换成了coco数据集格式进行训练的。

MMdetection3.0 报错data[‘category_id‘] = self.cat_ids[label] IndexError: list index out of range_第1张图片

你可能感兴趣的:(MMdetection,python,深度学习,MMdetection3.0)