-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import pre-annotation tasks with labels #7109
Comments
Hello, Thank you for contacting Label Studio, Could you please try the following suggestion and let us know it has worked out! 1. Importing Using an Absolute Image Path 2. Annotation Label Not Displaying in the Rectangle • Labeling Configuration Consistency:
your labeling configuration should include something like:
• Case Sensitivity and Mapping: By doing the following:
|
Thanks for your suggestions! Here are the experiment results.
Not worked. Below is the screenshot of environment varables I had already set, but still the image(1.jpg) wouldnt show up.
This is solved following your suggestion. So can you help me further analyze problem one? Many thanks! |
HI, are there any solutions yet? |
Hello, can you please confirm if the issue you are still encountering is at the level of Absolute path of images ?
|
Hello! Yes I can. If I give the path the example image and import the json file as a new project, everything will be fine. Detail here. Ignore the label name and position, just a demo. Contents of json file here:
|
Oh I just work this out! Following the instructions here I need to upload the images using cloud storage(local storage), but dont press sync, then upload the json file specifying the image path and it will work fine. Thanks a lot! |
Perfect! we are happy to assist you! Please do not hesitate to reach out if you have additional questions! Have a lovely day.
|
Hi team!
I had plenty of images with corresponding annotation-files. I wanted to import them into label-studio and made further annotations.
The images were stored in the linux server as the same place as the label-studio service started.
During the process of trying, I got two questions.
First, I tried to specify the aboslute path of the image and import it but failed, because label-studio couldnt find the image and I didnt know why.
I was sure the image existed in that path.
The content of the json file is below:
[ { "data": { "image": "/root/datasets/test/1.jpg" }, "predictions": [ { "model_version": "one", "score": 0.5, "result": [ { "id": "result1", "type": "rectanglelabels", "from_name": "label", "to_name": "image", "original_width": 600, "original_height": 403, "image_rotation": 0, "value": { "rotation": 0, "x": 57.96, "y": 25.11, "width": 6.40, "height": 25.00, "rectanglelabels": [ "Person" ] } } ] } ] } ]
Second I changed the 'image' variable to a uploaded task url and worked fine, but another problem raised.
The rectangle didnt show its label name though I had specified it (see the json content above, its name should be "Person").
Can you help me with these two questions? Thanks very much!
The text was updated successfully, but these errors were encountered: