Skip to main content

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 as well as the dataset that was used to train the surrogate models. We also provide the full training logs for all architectures, which include learning curves on the train, validation and test sets. These can be automatically downloaded, please see nasbench301/example.py.

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

$ cat requirements.txt | xargs -n 1 -L 1 pip install
$ pip install nasbench301

If installing directly from github

$ git clone https://github.com/automl/nasbench301
$ cd nasbench301
$ cat requirements.txt | xargs -n 1 -L 1 pip install
$ pip install .

To run the example

$ python3 nasbench301/example.py

To fit a surrogate model run

$ python3 fit_model.py --model gnn_gin --nasbench_data PATH_TO_NB_301_DATA_ROOT --data_config_path configs/data_configs/nb_301.json  --log_dir LOG_DIR

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.

Metadata

Release files for nasbench301 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nasbench301 0.3
File Size Uploaded
nasbench301-0.3.tar.gz 1.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nasbench301 0.3
File Interpreter ABI Platform
nasbench301-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 MB

Release files / nasbench301-0.3.tar.gz

Download URL nasbench301-0.3.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
51aaf7024a7d41bb6feb4f3d35e74e49bcaac721a6dd53e7c7bdef159ae16707
BLAKE2b-256 checksum
How to use checksums
2f49b0779342ff1e108db4164d04626aed237241ed9e7314514d412ed1c0f8ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / nasbench301-0.3-py3-none-any.whl

Download URL nasbench301-0.3-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ad53672d072abdc2b5c4c14604af53a61cf6927123a9962f35d7b067900b962d
BLAKE2b-256 checksum
How to use checksums
8b4194e4d390cb450c4f4eca091e0d2f09948e36f9baa0cf58f778b8626ff262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page