Skip to content

initxu/CVPR2022-NAS-competition-Track-2-10th-solution

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 81.7%
  • Python 18.2%
  • Shell 0.1%