Cannot submit label on new ohif update #1596
-
Hello Everyone, I have been using MonaiLabel and OHIF to perform active training on my segmentation model on a remote server. The workflow was to infer a new segmentation mask with my model, then correct it, submit the label and train the model on the submited label before moving to the next sample. Does anybody have a solution or somewhere I could look for a solution? Ps: If needed, I can provide more precisions |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Beta Was this translation helpful? Give feedback.
-
Related code which needs some contribution/fix to work with latest OHIF v3. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Thanks for your answer!
I don't have the segmentation pannel appearing when my model has finished running. I can see the segmentation mask but no menu appearing.
Maybe it is a problem on my side ? I need the active learning to be working so if I have to I will be trying to find a way to make it work.
How was the label submission implemented in the previous version, do you have the code?
Best Regards
De: "SACHIDANAND ALLE" ***@***.***>
À: "Project-MONAI/MONAILabel" ***@***.***>
Cc: "JackTheSturgeon" ***@***.***>, "Author" ***@***.***>
Envoyé: Lundi 20 Novembre 2023 16:49:25
Objet: Re: [Project-MONAI/MONAILabel] Cannot submit label on new ohif update (Discussion #1596)
OHIF v3 is lot under development. And OHIF v2 version is kind reaching EOL.
You can save your seg via direct OHIF v3 feature.
[ https://user-images.githubusercontent.com/7339051/284400514-80a923a6-6c43-4552-8dc9-1cee4596d497.png ]
Instead of feeling annoyed, please feel free to jump in if you can. At the end it is an open source to make it useful and available for everyone to use and contribute and make it better. We are looking for more contributions on this front.
—
Reply to this email directly, [ #1596 (comment) | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ANMQX767FGZRAPO65XU5TKDYFPF6LAVCNFSM6AAAAAA7TR2WD6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMMRTHE4DA | unsubscribe ] .
You are receiving this because you authored the thread. Message ID: <Project-MONAI/MONAILabel/repo-discussions/1596/comments/7623980 @ github . com>
|
Beta Was this translation helpful? Give feedback.
-
1. I resolved the study ID issue by manually uploading my Images to Orthanc using the GUI (through the upload button when accessing orthanc on localhost:8042) The way I originally did it was by using pynetdicom 2. I figured why the segmentation pannel was not showing |
Beta Was this translation helpful? Give feedback.
1. I resolved the study ID issue by manually uploading my Images to Orthanc using the GUI (through the upload button when accessing orthanc on localhost:8042)
The way I originally did it was by using pynetdicom
python -m pynetdicom storescu 127.0.0.1 4242 images_folder_name -aet MONAILABEL -r
which is way more convenient (because I can just upload all images in one line) but not monai friendly.
2. I figured why the segmentation pannel was not showing
You need to use 2 or more labels in your model config file (Im talking about self.labels in radiology/lib/config/segmentation_unetr.py).
Example:
self.labels = {"background":0, "Blood Vessel": 1}