label-studio-ml-backend icon indicating copy to clipboard operation
label-studio-ml-backend copied to clipboard

image semantic segmentation ml backend example?

Open imean131415 opened this issue 3 years ago • 6 comments

Is there an example for image semantic segmentation ml backend? I am not sure, how to write the predict results to adapt to label studio. Thank you!

imean131415 avatar Oct 09 '21 11:10 imean131415

Please check this docs https://labelstud.io/tutorials/object-detector.html

And also this video might be helpful https://youtu.be/CyRe73VD4EE

makseq avatar Oct 09 '21 11:10 makseq

Thanks. But these examples are not for image segmentation, for instance using PSPNet or BiSeNet or HROCR as predicting model. Do you have any example for this? Thank you!

imean131415 avatar Oct 11 '21 06:10 imean131415

Ho @imean131415 You can check this example. The main point is to use encode_rle method to convert the mask to RLE format that is used in Label Studio.

KonstantinKorotaev avatar Oct 11 '21 17:10 KonstantinKorotaev

Hi @KonstantinKorotaev I try to implement the referred example. How can I pass 'context' that contains interaction information (i.e., point or bounding box) to predict function? Thank you in advance! Thank you!

LetSur avatar Dec 16 '21 01:12 LetSur

Hi @LetSur You should use Webhook feature from Label Studio - it has all necessary data including context

KonstantinKorotaev avatar Dec 16 '21 08:12 KonstantinKorotaev

Also please check this issue, it might be useful - https://github.com/heartexlabs/label-studio/issues/732#issuecomment-810731402

makseq avatar Dec 17 '21 00:12 makseq

Closed as outdated, solved or no more actual issue.

makseq avatar Mar 09 '23 18:03 makseq