Open mutantbob opened 2 years ago
Your input URL http://172.17.0.1:8252/label-studio
must have .txt
extension: http://172.17.0.1:8252/label-studio.txt
. Re-save it as a txt file and try re-import it again. Also it's better to have .jpg
extensions for images.
I altered the CGI path to be http://172.17.0.1:8252/label-studio.txt
and the image URLs within to be
http://localhost:8252/picture.jpg?timestamp=1650596658817
http://localhost:8252/picture.jpg?timestamp=1650600295853
http://localhost:8252/picture.jpg?timestamp=1650603933326
http://localhost:8252/picture.jpg?timestamp=1650607568998
http://localhost:8252/picture.jpg?timestamp=1650611207440
http://localhost:8252/picture.jpg?timestamp=1650614845616
http://localhost:8252/picture.jpg?timestamp=1650618481760
but I am still getting the There was an issue loading URL from $image value
error.
yes, I see now, it's a bug. TXT and CSV are not recognized if they come from URL. Only .json
is supported in this way.
I am attempting to import a list of images to eventually label with bounding boxes .
When I "Add URL" http://172.17.0.1:8252/label-studio in the Data Import tab it seems to succeed. It shows me "upload/3/02d5eab1-label-studio" with a green bar next to it. I can rig the Labeling Setup for rectangles and replace the Airplane/ Cars tag with my own.
After I "Save", I get the project screen. When I click on the row with ID 1 I get
The contents of the URL I provided during Data Import looks like
And if I download one of those images inside Label Studio's docker container I get
So I think the CORS should not be a problem (
Access-Control-Allow-Origin: *
)Describe the solution you'd like It would be nice if the error message could explain the specific
issue
and maybe give me the value of$image
so I can troubleshoot this further.