Open nanazhutan opened 2 years ago
@WongKinYiu please help
Do you provide train.txt which contains image paths in your data.yaml?
Do you provide train.txt which contains image paths in your data.yaml? but still cannot detect my label, why is this happened? @WongKinYiu
Traceback (most recent call last): File "train.py", line 537, in
train(hyp, opt, device, tb_writer, wandb)
File "train.py", line 183, in train
rank=rank, world_size=opt.world_size, workers=opt.workers)
File "/content/PyTorch_YOLOv4/utils/datasets.py", line 72, in create_dataloader
rank=rank)
File "/content/PyTorch_YOLOv4/utils/datasets.py", line 497, in init
assert not augment, '%s. Can not train without labels.' % s
AssertionError: WARNING: No labels found in /content/drive/MyDrive/stair/train/.
here's my folder with images and their label
how to solve this?