Closed aknsel closed 2 years ago
I've similar problem. Labels are txt format in labels folder train/val located separately. But I got an error as above
This is a different issue. You might have the annotations in the wrong format, which causes the checking function to return None for img_path and breaks the process at img_info.pop(img_path).
Originally posted by @Zephyr69 in #107 (comment)
I created labels as explained below
Hi, how many labels file in your labels/val folder?
Hi, how many labels file in your labels/val folder?
There are 850 images in train, 150 in val.. Problem is solved in issue #107. thank you
This is a different issue. You might have the annotations in the wrong format, which causes the checking function to return None for img_path and breaks the process at img_info.pop(img_path). https://github.com/meituan/YOLOv6/blob/1d1335c62a939f2e5d639bdf2afec65c18beb59f/yolov6/data/datasets.py#L477
Originally posted by @Zephyr69 in https://github.com/meituan/YOLOv6/issues/107#issuecomment-1168422951