MONAILabel without 3D Slicer

Hello everyone,
I was wondering if it is possible to use MONAILabel inference without having the 3D Slicer application installed. Currently I have the extension working well for segmentation from the radiology sample app using the command “Slicer.exe --python-script --no-splash --no-main-window” however I am trying to find a way to get my inference running without needing to have Slicer installed (just using python or other libraries). I have tried looking into the code for MONAILabel for Slicer plugin and monailabel library, but haven’t found out a way to do it.

Thank you!

Yes, sure. Slicer application is portable, so you don’t need to install it. You can just copy the folder of files anywhere and run it.

Size of Pytorch and other required Python libraries are about 7GB. Slicer size is 1GB, so if you find the Slicer distribution easier to use then it makes sense to use it. But of course if you don’t need anything from Slicer or its packaging then you can set up MONAILabel inference independently. You can ask on MONAILabel forum for details.

1 Like