Closed Mekcyed closed 1 year ago
@makseq Could you give some hints on what you would like to see in a yolo test? And are there functions to validate whether a json is valid to be imported to label-studio?
@makseq Could you give some hints on what you would like to see in a yolo test? And are there functions to validate whether a json is valid to be imported to label-studio?
It would be great to see how ls converter takes a folder with yolo images and labeling files and generates the output LS json. So, we can check this generated json with ground truth json that we've prepared beforehand for this test.
please, resolve conflict with master
Failed to merge first and reopened the pr...
I resolved the conflict with pr #156. I noticed that meanwhile the yolo tests were added also. Edit: I will also update them due to the fact, that with looping through the images a different amount of images and labels maybe possible No changes in test_import_yolo.py
needed in my opinion. With my change all images are included in the yolo_exp_test.json
. Even if one label file is removed from the labels folder.
Hey,
Firstly: thanks for this toolbox which saved me a lot of time.
I noticed with the yolo import function, that it does not include images which do not have a corresponding label file. But when creating predictions/ annotations with yolo it can happen that yolo does not detect anything. In this case no label txt file is created.
I propose a change of the converting loop in
yolo.py
.Instead of looping through the folder with the label files it should loop through the image folder. The output for the label-studio
json
file would now include images without predictions/ annotations: