What is 'image_in' for the monailabel logic class? #1036
Unanswered
hourglassnam
asked this question in
Q&A
Replies: 1 comment
-
Hi @hourglassnam, Thanks for opening this discussion.
MONAI Label is a server with a REST API. To run autosegmentation you could make a REST API call to the server using the image you want to perform inference on. What's the use case or reason behind making a REST API call via the Slicer Python interpreter? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am trying to run the autosegmentation of MONAILabel using the Slicer Python Interactor with the information provided by this discussion, but I could not figure out what 'image_in' should be.
I read that image_in is the filepath for sending the image to the server as part of session creation and I tried to figuring it out with the log I got.
If I am understanding the log corretly, the image_in seems to be 'C:\Users\njy95\.cache\monailabel\sessions\3bacba06-431a-11ed-ac57-e0d464948715\tmpcuhnhxk1.nii.gz'.
However, this seems like a temporary folder that changes every time.
This is how far I got but I could not figure out the rest.
What is image_in and how can I make the auto segmentation to run with the python interactor in the Slicer?
Thank you always for all the help!
Beta Was this translation helpful? Give feedback.
All reactions