MCPcopy Create free account
hub / github.com/cchen-cc/SFDA-DPL

github.com/cchen-cc/SFDA-DPL @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
274 symbols 582 edges 29 files 49 documented · 18% updated 4y ago★ 6211 open issues

Browse by type

Functions 215 Types & classes 59
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Source-Free Domain Adaptive Fundus Image Segmentation with Denoised Pseudo-Labeling

Pytorch implementation of our source-free unsupervised domain adaptation method with denoised pseudo-labeling.

Paper

Source-Free Domain Adaptive Fundus Image Segmentation with Denoised Pseudo-Labeling MICCAI 2021

Installation

  • Install Pytorch 0.4.1 and CUDA 9.0 (Note that the results reported in the paper are obtained by running the code on this Pytorch version. As raised by the issue, using higher version of Pytorch may seem to have a performance decrease on optic cup segmentation.)
  • Clone this repo
git clone https://github.com/cchen-cc/SFDA-DPL
cd SFDA-DPL

Train

  • Download datasets from here.
  • Download source domain model from here or specify the data path in ./train_source.py and then train ./train_source.py.
  • Save source domain model into folder ./logs/source.
  • Download generated pseudo labels from here or specify the model path and data path in ./generate_pseudo.py and then train ./generate_pseudo.py.
  • Save generated pseudo labels into folder ./generate_pseudo.
  • Run ./train_target.py to start the target domain training process.

Acknowledgement

The code for source domain training is modified from BEAL.

Note

  • Contact: Cheng Chen (chencheng236@gmail.com)

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 150
Function 65
Class 59

Languages

Python100%

Modules by API surface

dataloaders/custom_transforms.py52 symbols
networks/backbone/drn.py28 symbols
networks/models.py25 symbols
networks/GAN.py20 symbols
networks/sync_batchnorm/batchnorm.py14 symbols
networks/sync_batchnorm/comm.py13 symbols
networks/layers.py12 symbols
networks/backbone/xception.py12 symbols
utils/Utils.py11 symbols
networks/backbone/resnet.py11 symbols
networks/backbone/mobilenet.py10 symbols
networks/aspp_eval.py9 symbols

For agents

$ claude mcp add SFDA-DPL \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page