-
Notifications
You must be signed in to change notification settings - Fork 130
YOLO import to LS doesnt import labels #236
Comments
I was able to solve this problem.
It was: "D:\label-studio\project\images/tmp_1%20image.jpg" Now you need to run LS with local storage access rights.
I tried to write more details for those who will have a similar error. |
The documentation is not clear at all. The setup and usage is not intuitive either. Eventually trying every single pattern and a lot of unnecessary wasted time this worked (similar to what you found): |
Hi,
I am trying to import pre-annoted images (object detection) to label-studio,
I've followed official guide and other issue on github, but im not able to figure out why it doesnt work.
I am using the following code to create json with predictions:
label-studio-converter import yolo -i /home/krystian/Desktop/label-studio/storage/inventory/ --image-root-url /data/local-files/?d=Desktop/label-studio/storage/inventory/images -o /home/krystian/Desktop/label-studio/storage/inventory/ls-tasks3.json --image-ext png
my storage is set like that:
labeling setup is set as in the .xml file
but after loading json i dont see any annotations:
is that becouse of problem with json file? it look like that:
[{"data": {"image": "/data/local-files/?d=Desktop/label-studio/storage/inventory/images/652.png"}}, {"data": {"image": "/data/local-files/?d=Desktop/label-studio/storage/inventory/images/1280.png"}}, {"data": {"image": "/data/local-files/?d=Desktop/label-studio/storage/inventory/images/1120.png"}}, {"data": {"image": "/data/local-files/?d=Desktop/label-studio/storage/inventory/images/517.png"}}, {"data": {"image": "/data/local-files/?d=Desktop/label-studio/storage/inventory/images/382.png"}}, {"data": {"image": "/data/local-files/?d=Desktop/label-studio/storage/inventory/images/294.png"}}, {"data": {"image": "/data/local-files/?d=Desktop/label-studio/storage/inventory/images/749.png"}},
also, i dont know if thats matter.
my storage folder is in path:
/home/krystian/Desktop/label-studio/storage/inventory
there are folders:
images
labels
and classes.txt
when I am adding storages i have to set option "Treat every bucket object as a source file" on True becouse without this i have fail in sychoronisation
The text was updated successfully, but these errors were encountered: