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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nasbench301-0.3.tar.gz | 1.8 MB | Without provenance | Details for nasbench301-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nasbench301-0.3-py3-none-any.whl | Python 3 | none | any | Details for nasbench301-0.3-py3-none-any.whl |
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
|
Security for nasbench301 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.