Add histogram plotting code

This commit is contained in:
jack-willturner
2020-06-17 13:43:08 +01:00
parent de1baa10a8
commit 2a1bb3ecc1
7 changed files with 159 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
# Neural Architecture Search Without Training
This repository contains code for replicating our paper on NAS without training.
This repository contains code for replicating our paper on NAS without training.
## Setup
## Setup
1. Download the [datasets](https://drive.google.com/drive/folders/1L0Lzq8rWpZLPfiQGd6QR8q5xLV88emU7).
2. Download [NAS-Bench-201](https://drive.google.com/file/d/1OOfVPpt-lA4u2HJrXbgrRd42IbfvJMyE/view).
@@ -10,7 +10,7 @@ This repository contains code for replicating our paper on NAS without training.
We also refer the reader to instructions in the official [NASBench-201 README](https://github.com/D-X-Y/NAS-Bench-201).
## Reproducing our results
## Reproducing our results
To reproduce our results:
@@ -39,6 +39,18 @@ To try different sample sizes, simply change the `--n_samples` argument in the c
Note that search times may vary from the reported result owing to hardware setup.
## Plotting histograms
In order to plot the histograms in Figure 1 of the paper, run:
```
python plot_histograms.py
```
to produce:
![alt text](results/histograms_cifar10val_batch256.png)
The code is licensed under the MIT licence.
## Acknowledgements