Git Product home page Git Product logo

beta-darts's Introduction

Beta-DARTS

This is the official implementation of β-DARTS: Beta-Decay Regularization for Differentiable Architecture Search (CVPR22 oral).

About

This code is based on the implementation of DARTS, NAS-Bench-201, NAS-Bench-1Shot1 and SmoothDARTS.

Searching and Evaluation on NAS-Bench-201 Space:

Data Preparation: Please first download the 201 benchmark file and prepare the api follow this repository.

Searching and Evaluation: python ./nasbench201/train_search.py

Note that we only use the training set when searching and retraining as DARTS. Please refer to line 135-139 of ./nasbench201/train_search.py to see the splitted training data.

The Proposed Beta Decay Regularization

Please refer to ./optimizers/darts/architect.py to find our proposed loss as follows:

Line 55: def mlc_loss(self, arch_param):

Please be noted that only “one line of code” (i.e. mlc loss)is added to make differentiable NAS methods much more Robustness and Generalization !!!

Paper and Reference

Paper

Reference

beta-darts's People

Contributors

sunshine-ye 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.