Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 917 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 917 Bytes

SRPL-SFDA: SAM-Guided Reliable Pseudo-Labels for Source-Free Domain Adaptation in Medical Image Segmentation

This repository provides the code for "SRPL-SFDA: SAM-Guided Reliable Pseudo-Labels for Source-Free Domain Adaptation in Medical Image Segmentation".

Requirements

Before you can use this package for image segmentation. You should:

  • PyTorch version >=1.0.1
  • Some common python packages such as Numpy, Pandas, SimpleITK,OpenCV, pyqt5, scipy......
  • Install the SAM for Segment Anything.

Usage

  1. Clone this repository
git clone
  1. Download the dataset and put them in the corresponding folder
  2. Run the following command to train the model
sh train.sh
  1. Run the following command to test the model
sh test.sh