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/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IndexError: list index out of range

devenliu opened this issue · comments

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.