Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tufts-ml/SSL-vs-SSL-benchmark

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSL-vs-SSL-benchmark

This is the code for benchmark comparing self-supervised and semi-supervised deep classifiers for medical images

Supplementary Materials

Here we provide the Supplementary Materials[Appendix.pdf/] of our benchmark. The Supplement includes following sections to describe the experiments and analysis in more details.

  • Code and Data Splits for Reproducibility
  • Dataset Details
  • Additional Results
  • Algorithms Details
  • Additional Analysis

Setup

Prepare datasets

Install Anaconda

Follow the instructions here: https://conda.io/projects/conda/en/latest/user-guide/install/index.html

Environment

packages needed are specified in environment.yml (TODO)

Running experiments

Define the environment variable

export ROOT_PATH="paths to this repo" (e.g., '/ab/cd/SSL-vs-SSL-benchmark', then do export ROOT_PATH = '/ab/cd/SSL-vs-SSL-benchmark')

Example

For example if you want to run FixMatch on TissueMNIST to reproduce Figure 1(a) and Figure A.2(a), go to runs/TissueMNIST/FixMatch/ bash launch_experiment.sh run_here

Note that you will need to edit the paths to dataset in the launch_experiment.sh file.

A note on reproducibility

While the focus of our paper is reproducibility, ultimately exact comparison to the results in our paper will be conflated by subtle differences such as the version of Pytorch etc (see https://pytorch.org/docs/stable/notes/randomness.html for more detail).

Acknowledgement

This repository builds upon the public repo pytorch-consistency-regularization[https://github.com/perrying/pytorch-consistency-regularization]. Thanks for sharing the great code bases!

Reference

TODO

About

Code for benchmark comparing self-supervised and semi-supervised deep classifiers for medical images

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.