Code Monkey home page Code Monkey logo

fix-a-step's Introduction

Fix-A-Step

Code for AISTATS 2023 paper: Fix-A-Step: Semi-supervised Learning From Uncurated Unlabeled Data

Paper PDF: https://arxiv.org/abs/2208.11870

Video: https://www.youtube.com/watch?v=JUnfeisSi9M

Repo structure

  1. src_CIFAR10/: CIFAR-10 experiments source code
  2. src_CIFAR100/: CIFAR-100 experiments source code
  3. src_TMED2/: TMED-2 experiments source code:
  4. Heart2Heart_Transfering/: Transfering to Unity and CAMUS source code:
  5. runs/: commands and hyper-parameters to run the experiments

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

Running experiments

Define the environment variable

export ROOT_PATH="paths to this repo" (e.g., '/ab/cd/fix-a-step', then do export ROOT_PATH = '/ab/cd/fix-a-step')

Example

For example if you want to run Mean Teacher with Fix-A-Step for CIFAR-10 400labels/class , go to runs/CIFAR10/data_seed0/training_seed0/nlabels4000/MT_FixAStep

bash CIFAR10ContaminationLevelX.sh run_here

X is the corresponding experiment you want to run

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). We found in our experiment even with same random seed, result can vary sligtly between different runs (but usually less than 1%).

Citing this work

@article{huang2022fix, title={Fix-A-Step: Effective Semi-supervised Learning from Uncurated Unlabeled Sets}, author={Huang, Zhe and Sidhom, Mary-Joy and Wessler, Benjamin S and Hughes, Michael C}, journal={arXiv preprint arXiv:2208.11870}, year={2022} }

fix-a-step's People

Contributors

hzhz2020 avatar michaelchughes avatar

Stargazers

Geralt7 avatar jaclyn avatar  avatar Jialh2118 avatar  avatar Ningrong Ye avatar  avatar

Watchers

Bert Huang avatar  avatar Liping Liu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.