You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to labelstudio and i am having issues importing. I have gotten a pre-annotated dataset from a colleague that is using a different licensed software that i do not have access to so i am trying to use labelstudio. They have sent the JPG images in image folder and masks as png files in a mask folder. I have only 2 classes so label is either the item i want to mark (white pixels) or just background (black pixels). so the whole mask png is just a black box with white parts in it.
To Reproduce
Have files in this path
C:\Users\User\Project1\dataset
├── image
│ ├── 10.JPG
│ ├── 11.JPG
└── mask
├── 10.png
├── 11.png
Set env variables for label studio
set LABEL_STUDIO_LOCAL_FILES_SERVING_ENABLED=true
set LABEL_STUDIO_LOCAL_FILES_DOCUMENT_ROOT="C:\\Users\\User\\Project1\\"
Set source location in project settings
Storage type: Local files
Local path: C:\Users\User\Project1\dataset
File filter regex: empty
Do not sync
Expected behavior
I expect to see the premade annotations on the predictions tab but it is just empty, no labels no masks. I can see the images just fine, so i assume local storage connection is okay and path names are fine. label studio does create a prediction model called "v1" as well but when i look at the prediction for the task it is empty. I want to just upload the premade masks as "predictions" so i can just copy the predictions as actual results and look at the dataset my colleague made
Have also tried to convert the pngs to rle's and base64's hoping labelstudio would recognise that but same result. Predictions are just empty masks with no labels or marks.
The text was updated successfully, but these errors were encountered:
Mask Field in Predictions
In your JSON file, the mask field in the prediction points to a file path:
"mask": "/data/local-files/?d=dataset/mask/10.png"
However, Label Studio does not support using file paths directly in the mask field. Instead, the mask should contain the actual mask data in one of the supported formats:
Run-Length Encoding (RLE): Set "format": "rle" and provide the RLE-encoded mask in the rle field.
If you prefer, you can convert your PNG masks to RLE format using the label_studio_converter.brush utility.
I am new to labelstudio and i am having issues importing. I have gotten a pre-annotated dataset from a colleague that is using a different licensed software that i do not have access to so i am trying to use labelstudio. They have sent the JPG images in image folder and masks as png files in a mask folder. I have only 2 classes so label is either the item i want to mark (white pixels) or just background (black pixels). so the whole mask png is just a black box with white parts in it.
To Reproduce
Have files in this path
C:\Users\User\Project1\dataset
├── image
│ ├── 10.JPG
│ ├── 11.JPG
└── mask
├── 10.png
├── 11.png
Set env variables for label studio
Set source location in project settings
Storage type: Local files
Local path: C:\Users\User\Project1\dataset
File filter regex: empty
Do not sync
Set Label interface
Expected behavior
I expect to see the premade annotations on the predictions tab but it is just empty, no labels no masks. I can see the images just fine, so i assume local storage connection is okay and path names are fine. label studio does create a prediction model called "v1" as well but when i look at the prediction for the task it is empty. I want to just upload the premade masks as "predictions" so i can just copy the predictions as actual results and look at the dataset my colleague made
Have also tried to convert the pngs to rle's and base64's hoping labelstudio would recognise that but same result. Predictions are just empty masks with no labels or marks.
The text was updated successfully, but these errors were encountered: