Skip to content

CODE for MSR-UNet: An Effective Model for Multiscale Information and Long-Range Dependency in Medical Image Segmentation

Notifications You must be signed in to change notification settings

davidsmithwj/MSR-UNet

Repository files navigation

MSR-UNet

CODE for MSR-UNet: An Effective Model for Multiscale Information and Long-Range Dependency in Medical Image Segmentation

This code is mainly based on the MISSFormer, at the following link: https://arxiv.org/abs/2109.07162

1. Environment

  • Please prepare an environment with Ubuntu 20.04, with Python 3.6.13, PyTorch 1.8.0, and CUDA 11.1.1.

2. Train/Test

  • Train
python train.py --dataset Synapse --root_path your DATA_DIR --max_epochs 400 --output_dir your OUT_DIR  --img_size 224 --base_lr 0.05 --batch_size 24
  • Test
python test.py --dataset Synapse --is_savenii --volume_path your DATA_DIR --output_dir your OUT_DIR --max_epoch 400 --base_lr 0.05 --img_size 224 --batch_size 24

References


Possible errors and solutions

If can not run, please try make a new folder under model_out, and named as predictions. or download the model from baidu disk, PIN: MSRU

About

CODE for MSR-UNet: An Effective Model for Multiscale Information and Long-Range Dependency in Medical Image Segmentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages