Skip to main content

A surrogate benchmark for neural architecture search

Project description

NAS-Bench-301

This repository containts code for the paper: "NAS-Bench-301 and the Case for Surrogate Benchmarks for Neural Architecture Search".

The surrogate models can be downloaded on figshare. This includes the models for v0.9 and v1.0.

To install all requirements (this may take a few minutes), run

$ cat requirements.txt | xargs -n 1 -L 1 pip install
$ pip install torch-scatter==2.0.4+cu102 torch-sparse==0.6.3+cu102 torch-cluster==1.5.5+cu102 torch-spline-conv==1.2.0+cu102 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
$ pip install torch-geometric

To run a quick example, adapt the model paths in 'nasbench301/example.py' and from the base directory run

$ export PYTHONPATH=$PWD
$ python3 nasbench301/example.py

NOTE: This codebase is still subject to changes. Upcoming updates include improved versions of the surrogate models and code for all experiments from the paper. The API may still be subject to changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nasbench301-0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

nasbench301-0.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file nasbench301-0.1.tar.gz.

File metadata

  • Download URL: nasbench301-0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.7

File hashes

Hashes for nasbench301-0.1.tar.gz
Algorithm Hash digest
SHA256 cceeba570cf3820d9412ea5dd68c23e58071eed2a7716fa408e237b17f3b5f73
MD5 06842acedf85b6e34fc1b1524fba0f7f
BLAKE2b-256 e28b62c9831258b144cf8f0613aad06b55059532fa4dc97ffc86d4273c736a7b

See more details on using hashes here.

File details

Details for the file nasbench301-0.1-py3-none-any.whl.

File metadata

  • Download URL: nasbench301-0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.7

File hashes

Hashes for nasbench301-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf0c83745e2ac5785616c354f8a5ec65ac9d9902ccae228031f7e7f8eec2295c
MD5 57a1756436142b18a4bae4e1e7bd8c38
BLAKE2b-256 06848de86d9acad420318b58275f2a6e10ab3c301b9a9624a6cf9595914fef93

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page