This repo is the official implementation for:\ The Lighter The Better: Rethinking Transformers in Medical Image Segmentation Through Adaptive Pruning.\ (The details of our APFormer can be found at the models directory in this repo or in the paper.)
Commands for training on the ISIC 2018 dataset
python train_ISIC.py
Commands for training on the Synapse dataset
python train_synapse.py
Commands for training on the Synapse dataset
python test.py