sct-pipeline / contrast-agnostic-softseg-spinalcord

Contrast-agnostic spinal cord segmentation project with softseg
MIT License
4 stars 3 forks source link

Upgrade and pin monai to 1.3.0 #79

Closed naga-karthik closed 1 year ago

naga-karthik commented 1 year ago

This PR upgrades and pins monai to v1.3.0. This is required mainly because one particular transform RandSimulateLowResolutiond is natively implemented in this version and is useful during training.

Before this, I had to manually tweak the source code to use this transform. Now that it's stable, it can directly be imported from monai.transforms. Note that this transform is used only during training and not during inference (so the inference script remains unchanged).

I tested this version upgrade by training a model in debug mode for a few epochs and it works without breaking anything !