-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
我在windows上使用pycharm的conda环境,部署了yolox,所有依赖已经安装,然后使用官方的测试命令(https://github.com/Megvii-BaseDetection/YOLOX/blob/main/docs/train_custom_data.md)进行训练的时候报错 File "D:\soft\tool\Anaconda\envs\yolox2\lib\site-packages\pycocotools\coco.py", line 314, in loadRes
res.dataset['info'] = copy.deepcopy(self.dataset['info'])
│ │ │ │ │ └ {'images': [{'file_name': '000000000001.jpg', 'id': 1, 'height': 480, 'width': 640}, {'file_name': '000000000002.jpg', 'id': ...
│ │ │ │ └ <pycocotools.coco.COCO object at 0x000001E4E33BEE30>
│ │ │ └ <function deepcopy at 0x000001E4D2F0AB90>
│ │ └ <module 'copy' from 'D:\soft\tool\Anaconda\envs\yolox2\lib\copy.py'>
│ └ {}
└ <pycocotools.coco.COCO object at 0x000001E4E3321060>
KeyError: 'info'