Giter Site home page Giter Site logo

nexperia's Introduction

Nexperia

This is the PyTorch implementation of the Nexperia image classification models.

Requirements

  • Python >= 3.6
  • PyTorch >= 1.0
  • CUDA
  • NumPy
  • pandas

Usage

Standard training

The main.py contains training and evaluation functions in standard training setting.

Runnable scripts

  • Training and evaluation using the default parameters

    We provide our training scripts in directory scripts/. For a concrete example, we can use the command as below to train the default model (i.e., ResNet-34) on the Nexperia dataset:

    $ bash scripts/nexperia/run_ce.sh [TRIAL_NAME]

    The argument TRIAL_NAME is optional, it helps us to identify different trials of the same experiments without modifying the training script. The evaluation is automatically performed when training is finished.

  • Additional arguments include

    • sat-es: initial epochs of SAT
    • sat-alpha: the momentum term $\alpha$ of SAT
    • mod: modification of SAT, e.g., bad_1, bad_boost
    • eli: initial epochs of weighted CE for class i (from 1 to 10)
    • ce-momentum: the momentum term of weighted CE
    • arch: the architecture of backbone model, e.g., resnet34
    • dataset: the dataset to train, e.g., nexperia_split, nexperia, CIFAR10

Reference

A report can be found in the report.

@inproceedings{kaiyihuang,
  title={The first progress report on },
  author={Huang, Lang and Zhang, Chao and Zhang, Hongyang},
  booktitle={Advances in Neural Information Processing Systems},
  volume={33},
  year={2020}
}

This is adapted from the paper.

@inproceedings{huang2020self,
  title={Self-Adaptive Training: beyond Empirical Risk Minimization},
  author={Huang, Lang and Zhang, Chao and Zhang, Hongyang},
  booktitle={Advances in Neural Information Processing Systems},
  volume={33},
  year={2020}
}

Contact

If you have any question about this code, feel free to open an issue or contact [email protected].

nexperia's People

Contributors

huangkaiyikatherine avatar

Watchers

 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.