Official code for "Learnable Prompting SAM-induced Knowledge Distillation for Semi-supervised Medical Image Segmentation"
To set up the environment and install dependencies, run:
pip install -r requirements.txtWe provide a reference sample dataset (SampleData.rar) that allows users to quickly test and run the model. Extract the dataset using the following command:
unrar x SampleData.rarFor processed ACDC dataset, you can download it from the ACDC, and place it directly in the SampleData folder.
To train the model on a dataset, execute:
python train_semi_SAM.pyFor ACDC dataset training:
python train_semi_SAM_ACDC.pyAfter training, you can make predictions using:
python prediction.pyFor ACDC dataset inference:
python prediction_ACDC.pyOur code is based on SSL4MIS.
If you have any questions, welcome contact me at '[email protected]'