Hi,
I am having problems updating YOLO TXT labels.
I am using the recommended format, like:
0 0.5 0.25 0.15 0.3
for
class x_center y_center w h
with all numbers normalized.
However, when uploading, the following error is appearing: βerror parsing YOLO TXT; no valid boxes foundβ.
Hi @silvada95,
How is your directory structure set up for your dataset? You must use the exact format as specified in our YOLO TXT uploader guide. For example:
.
βββ classes.txt
βββ data.yaml
βββ test
β βββ images
β β βββ cubes-23im33f2.jpg
β β βββ cubes-23im858s.jpg
β β ...
β β βββ cubes-23j4k0rk.jpg
β βββ labels
β β βββ cubes-23im33f2.txt
β β βββ cubes-23im858s.txt
β β ...
β β βββ cubes-23j4k0rk.txt
βββ train
βββ images
β βββ blue-23ijdngd.jpg
β ...
β βββ yellow-23ijdp4o.jpg
βββ labels
β βββ blue-23ijdngd.txt
β ...
β βββ yellow-23ijdp4o.txt
6 directories, 142 files
Note the need for classes.txt, data.yaml, and the separate images and labels directories under test/train. At the bottom of the article I linked to is an example βcubes on a conveyor belt datasetβ that you can download to examine. That uploads OK to a project (I just tried).
1 Like