-
Dear all, I ran into an error when the monailabel server is running on a cloud VM (in my case on GCP) and having 3D Slicer locally. When clicking the button "Next Sample" it could not load the image. I therefore assume that the images are forwarded by sending the file path from the server to the slicer (rather than the bytes themselves). This works when server and slicer are running on the same machine or in a LAN with relaxed read/write permissions. However, I want to make the case that the cloud2local scenario is highly important and should be supported. Large and distributed data consortia usually live in the cloud (the GPU compute as well as data storage), whereas medical experts needed for annotating use either their office laptops or special reader machine (as in clinical trials) - but of them don't have a GPU. So allowing a full outsourcing of the server (and its GPU compute) would be highly beneficial in terms of scaling. @SachidanandAlle - is the cloud2local scenario supported and I just made a mistake while setting it up? Or is this not yet implemented (if the latter is the case, I could help implementing, but would need some pointers). |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 12 replies
-
It is supported.. server can run anywhere and slicer will try to download the image on your local box.. as an optimization it tries to see if local path is accessible to avoid download (same host scenario) You can see the slicer logs or server logs.. the next sample action reruns image id and url to download the image from server... Or try this on your local box.. http://server:port/ and try download api... give the image id to download it.. the same is used by slicer.. |
Beta Was this translation helpful? Give feedback.
-
Hi @St3V0Bay, Thanks for raising this issue. Please let us know how it goes. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You can use python interface within 3d slicer |
Beta Was this translation helpful? Give feedback.
-
Dear community, I could successfully connect a local 3D Slicer with MONAIlabel server running on Google Cloud Platform. One can basically use a regular notebook instance (e.g. https://cloud.google.com/vertex-ai-workbench#section-6) and tunnel the port to the local machine using this gcloud function. https://cloud.google.com/sdk/gcloud/reference/compute/start-iap-tunnel The data access and compute ressources (type and size of GPU) can easily be manage in GCP and the annotator only needs to open 3D Slicer w/ MONAILabel and is ready to go. Best thing since sliced bread :-) |
Beta Was this translation helpful? Give feedback.
Dear community,
I could successfully connect a local 3D Slicer with MONAIlabel server running on Google Cloud Platform. One can basically use a regular notebook instance (e.g. https://cloud.google.com/vertex-ai-workbench#section-6) and tunnel the port to the local machine using this gcloud function. https://cloud.google.com/sdk/gcloud/reference/compute/start-iap-tunnel
The data access and compute ressources (type and size of GPU) can easily be manage in GCP and the annotator only needs to open 3D Slicer w/ MONAILabel and is ready to go. Best thing since sliced bread :-)