Double-zh / ByteTrack

ByteTrack超详细教程!!!---训练自己的数据集(VOC格式)&&摄像头实时检测跟踪
MIT License
85 stars 14 forks source link

你好,我按照您的说明运行代码,但是出现如下报错 #5

Open Wei-Wu233 opened 2 years ago

Wei-Wu233 commented 2 years ago

Traceback (most recent call last): File "train.py", line 10, in from yolox.core import Trainer, launch File "D:\github_rar\ByteTrack_zz\yolox__init__.py", line 4, in from .utils import configure_module File "D:\github_rar\ByteTrack_zz\yolox\utils__init__.py", line 15, in from .setup_env import * File "D:\github_rar\ByteTrack_zz\yolox\utils\setup_env.py", line 5, in sys.path.remove('/opt/ros/kinetic/lib/python2.7/dist-packages') ValueError: list.remove(x): x not in list

xiaoxiaolu1111 commented 2 years ago

将train.py和setup_env.py中的 sys.path.remove('/opt/ros/kinetic/lib/python2.7/dist-packages')注释掉即可