Giter VIP home page Giter VIP logo

cvpr2022-nas-competition-track-2-10th-solution's Introduction

Paddle CVPR 2022 NAS competition track 2: Performance Estimation

Repo for Paddle CVPR 2022 NAS track 2 performance estimation, link.

Implementation

  1. One-hot encoding for each architecture, $E(\alpha)\in R^{37\times10}$, we pad with zeros for arch with depth less then 12.
  2. Positional encoding is added to each arch encoding for preserving the depth information.
  3. Predictor is based on MLP, the final output layer outputs 1 score for each arch.
  4. We adopt ranking-based loss to regulate the relative ranking for predicted scores, see ReNAS.
  5. We traverse the predictors according to their top ktau over test split and upload to the eval server.

Prerequisite

For test predictors with trained weights, please first download the checkpoints from Baidu link, password is n06d; then place the checkpoints in the results/ folder and train and test data in the data folder.

In summary, the folder hierarchy follow:

.
├── dataset.py
├── main.py
├── network.py
├── README.md
├── test.ipynb
├── test.sh
├── train.ipynb
├── train.sh
├── results
│   ├── cplfw_final.pth
│   ├── dukemtmc_final.pth
│   ├── market1501_final.pth
│   ├── msmt17_final.pth
│   ├── sop_final.pth
│   ├── vehicleid_final.pth
│   ├── veri_final.pth
│   └── veriwild_final.pth
├── data
│   ├── CVPR_2022_NAS_Track2_test.json
│   └── CVPR_2022_NAS_Track2_train.json
└── test.py

Reproduce

  1. For training the predictors, directly run the train.sh or run the cell in train.ipynb
  2. For testing and obtaining the final ranking over 99500 archs, make sure you download the checkpoints and store in the right folder mentioned above, then run the test.sh or test.ipynb.
  3. Notice, the results may exist small discrepancies due to codes lino and running environments.

cvpr2022-nas-competition-track-2-10th-solution's People

Contributors

albertipot avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

initxu

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.