Update the test codes for NAS-Bench-API

This commit is contained in:
D-X-Y
2020-07-01 12:29:46 +00:00
parent 1906454a73
commit a45808b8e6
5 changed files with 287 additions and 212 deletions

View File

@@ -40,6 +40,8 @@ It is recommended to put these data into `$TORCH_HOME` (`~/.torch/` by default).
## How to Use NAS-Bench-201
**More usage can be found in [our test codes](https://github.com/D-X-Y/AutoDL-Projects/blob/master/exps/NAS-Bench-201/test-nas-api.py)**.
1. Creating an API instance from a file:
```
from nas_201_api import NASBench201API as API