-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resources showing programmatic segmentation using available models #52
Comments
Here is the inference script: https://github.com/lassoan/SlicerMONAIAuto3DSeg/blob/main/MONAIAuto3DSeg/Scripts/auto3dseg_segresnet_inference.py |
Thanks, Andras! |
Hi @mattwarkentin, Very good question. Thanks for asking. As @lassoan mentioned, you just need this script: https://github.com/lassoan/SlicerMONAIAuto3DSeg/blob/main/MONAIAuto3DSeg/Scripts/auto3dseg_segresnet_inference.py In a virtual environment with MONAI installed:
an example command will be:
If your images are in
Remember to do the import: Hope this helps, |
Great, thanks for the extra info @diazandr3s. This will definitely get me on the right track. |
Model info and links are here: https://github.com/lassoan/SlicerMONAIAuto3DSeg/blob/main/MONAIAuto3DSeg/Resources/Models.json |
Hi,
Maybe I've been looking in the wrong spots, but are there any scripts/resources showing how to programmatically perform segmentation in Python rather than the Slicer UI using one of the available models? Thanks.
The text was updated successfully, but these errors were encountered: