Skip to content

hyeongyu-kim/SDC-UDA

Repository files navigation

SDC-UDA

This is an official pytorch implementation of the paper

Notes

Figure1_Camera_JPG

Our framework consists of two steps, 1) Image translation and 2) Self-training. In this repository, only step 1 is supported. *And we are currently building on it!

Requirements

(worked on the setting below, and do not guarantee other versions)

argparse                1.4.0
numpy                   1.22.3
pytorch                 1.11.0
torchvision             0.12.0
tensorboard             2.9.1
einops                  0.4.1
scikit-learn            1.1.1
scipy                   1.8.1
cudatoolkit             11.3.1
python                  3.9.12
simpleitk               2.0.2

(and need to install extra dependencies required. Information about the packages will be updated!)

Dataset

You need to modify the data and fit to datalist format provided. We splitted 3D medcial data to every single slice with file, for efficient loading.

The dataset used for training can be downloaded here for each.

CrossMoDA (Vestibular and schwannoma) : https://crossmoda-challenge.ml/

Cardiac (MMWHS) : https://zmiclab.github.io/zxh/0/mmwhs/

Training

python train.py

Logs

You can check the status using

tensorboard --logdir tensorboard/<Your_Experiment_Name>

and your checkpoint is saved at /checkpoints.

Comments

This code was partially borrowed by

https://github.com/Seung-Hun-Lee/DRANet

https://github.com/lucidrains/segformer-pytorch

and about the nnU-Net part with Sensitivity & Specificity aware pseudo-label refinement algorithm is to be updated!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published