Megvii-BaseDetection / YOLOX

YOLOX is a high-performance anchor-free YOLO, exceeding yolov3~v5 with MegEngine, ONNX, TensorRT, ncnn, and OpenVINO supported. Documentation: https://yolox.readthedocs.io/
Apache License 2.0
9.35k stars 2.19k forks source link

IndexError: list index out of range #1764

Open devenliu opened 6 months ago

devenliu commented 6 months ago

I encountered the following problem on Windows:

IndexError: list index out of range

The code that may have problems is as follows:

# yolox/data/datasets/voc.py
(self._imgpath % self.ids[i]).split(self.root + "/")[1]

line 138

The issue may be caused by the / in the split method.