You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: