MCPcopy Index your code
hub / github.com/YaoZhang93/MAML

github.com/YaoZhang93/MAML @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,103 symbols 4,124 edges 263 files 275 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Modality-aware Mutual Learning for Multi-modal Medical Image Segmentation

Paper

This is the implementation for the paper:

Modality-aware Mutual Learning for Multi-modal Medical Image Segmentation

Early Accepted to MICCAI 2021

image

Usage.

python dataset_conversion/Task032_BraTS_2018.py

  • Preprocess the data by

python experiment_planning/nnUNet_plan_and_preprocess.py -t 32 --verify_dataset_integrity

  • Train

  • Train the model by

python run/run_training.py 3d_fullres MAMLTrainerV2 32 0

  • Test

  • inference on the test data by

python inference/predict_simple.py -i INPUT_PATH -o OUTPUT_PATH -t 32 -f 0 -tr MAMLTrainerV2

MAML is integrated with the out-of-box nnUNet. Please refer to it for more usage.

Citation

If you find this code and paper useful for your research, please kindly cite our paper.

@inproceedings{zhang2021modality,
  title={Modality-Aware Mutual Learning for Multi-modal Medical Image Segmentation},
  author={Zhang, Yao and Yang, Jiawei and Tian, Jiang and Shi, Zhongchao and Zhong, Cheng and Zhang, Yang and He, Zhiqiang},
  booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
  pages={589--599},
  year={2021},
  organization={Springer}
}

Acknowledgement

MAML is integrated with the out-of-box nnUNet.

Core symbols most depended-on inside this repo

print_to_log_file
called by 134
nnunet/training/network_training/network_trainer.py
step
called by 35
nnunet/training/optimizer/ranger.py
backward
called by 28
nnunet/utilities/distributed.py
compute_approx_vram_consumption
called by 23
nnunet/network_architecture/generic_UNet.py
get_pool_and_conv_props
called by 22
nnunet/experiment_planning/common_utils.py
maybe_to_torch
called by 22
nnunet/utilities/to_torch.py
to_cuda
called by 22
nnunet/utilities/to_torch.py
unpack_dataset
called by 18
nnunet/training/dataloading/dataset_loading.py

Shape

Method 589
Function 306
Class 208

Languages

Python100%

Modules by API surface

nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py34 symbols
nnunet/evaluation/metrics.py32 symbols
nnunet/training/network_training/network_trainer.py29 symbols
nnunet/preprocessing/preprocessing.py26 symbols
nnunet/training/loss_functions/dice_loss.py25 symbols
nnunet/evaluation/evaluator.py22 symbols
nnunet/training/network_training/nnUNetTrainer.py21 symbols
nnunet/network_architecture/neural_network.py20 symbols
nnunet/training/network_training/competitions_with_custom_Trainers/BraTS2020/nnUNetTrainerV2BraTSRegions.py19 symbols
nnunet/training/dataloading/dataset_loading.py19 symbols
nnunet/network_architecture/generic_MAML.py19 symbols
nnunet/preprocessing/cropping.py18 symbols

For agents

$ claude mcp add MAML \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page