It looks good in general. However, I would not recommend to install pytorch like this. Pytorch is now used very commonly - all AI extensions use it - and we provide the PyTorch extension to install it, as the installation can go wrong in many ways. You can see an example of how it is used in MONAIAuto3DSeg and TotalSegmentator extensions.
I’m not sure what you mean by plugin though, as neither Slicer nor Python use plugins. Slicer has extensions that you can install via Slicer’s Extensions Manager, while Python has packages that you can install via pip.
Hi Iassoan We are trying to add a our own developed segmentation model as a part of Slicer which I referred as the plugin here, for that I want to know how can I install the packages required using the Slicer.
In windows OS Pythonslicer.exe is used to install the required packages, similarly what is used to install packages in ubuntu OS
Thanks for the clarification. I would recommend to use similar extensions as example. You can use MONAIAuto3DSeg as an example for implementing MONAI based model, or DentalSegmentator for nn-UNet based model.
Since you have built Slicer in debug mode, you can get detailed information of where the problem occurred (see instructions here, you can probably skip Step 1).