### Producing figures

The bash scripts used to produce the figures used in the paper are in `paper_figure_scripts/`, these call the python 
scripts in `plots/` with specific arguments.

#### Example: creating Figure 2

To replicate Figure 2 (using a randomly selected layer) run:

```angular2html
python -m plots.summary_statistic_histograms \ 
    glow [name_of_glow_model_trained_on_celeba] --id_datasets celeba \
    --datasets cifar10 celeba svhn imagenet32 gtsrb \
    --anomaly_detection gradients_L2_norms_gaussian --batch_size 5 \
    --fitted_distribution \
    --n_statistics 1
```

To run for all layers, remove the `n_statistics` flag.
