Code example for MICCAI2022 challenge CMRxMotion task 1 - Cardiac MRI motion artefacts classification
Paper: Motion-related Artefact Classification Using Patch-based Ensemble and Transfer Learning in Cardiac MRI
Challenge website: http://cmr.miccai.cloud/
Python 3.9
PyTorch 1.11
pip install -r requirement.txt
- Train heart region segmentation model (
train_seg.py
) on CMRxMotion task 2 data. - Crop the 3D scans into 2D slices and segment the heart region assisted by the segmentation model (
pred_crop.py
). - Divide the slices into 5-fold for cross-validation for classification model training (
split_slices.py
). - Train classification models (
train_seg.py
,train_seg.py
,train_seg.py
) on 2D slices.
Crop the validation data into 2D slices and segment the heart region (pred_crop.py
), then run inference.py
.