In this training script, MSE is used as the similarity metric.
The original paper suggests setting
In addition, I added Dice loss as an auxiliary loss.
The training script requires the latest version of MONAI. Install by:
pip install -q monai-weeklyRun the following in Python to check MONAI version:
from monai.config import print_config
print_config()This training script is based on this MONAI tutorial.
Also see ICON for GradICON.
- Try other similarity metrics, e.g., LNCC.
- Train with AMP (automatic mixed precision).
- Only very coarse hyperparameter tuning was done. Therefore,
- Tune hyperparameters more carefully.
- Try hypernetwork-based, e.g., HyperMorph-like, design.
- The UNet architecture used here is the Vanilla UNet used in VoxelMorph. Therefore,
- Try other architectures, e.g., ViT will be a good candidate (implemented in MONAI).