Syencil / mobile-yolov5-pruning-distillation

mobilev2-yolov5s剪枝、蒸馏,支持ncnn,tensorRT部署。ultra-light but better performence!
MIT License
816 stars 164 forks source link

'python3 train.py --type vocl' meet the error #81

Open ResidualNS opened 1 year ago

ResidualNS commented 1 year ago

How to solve the following problem? Traceback (most recent call last): File "train.py", line 776, in train(hyp) File "train.py", line 249, in train dataset = LoadImagesAndLabels(train_path, imgsz, batch_size, File "/media/ubuntu/Data/comen/PycharmProjects/zyp_projects/mobile-yolov5-pruning-distillation/utils/datasets.py", line 277, in init assert n > 0, 'No images found in %s. See %s' % (path, help_url) AssertionError: No images found in dataset/voc/voc_train.txt. See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data