Skip to content

Commit

Permalink
Update vis styling for doc compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHedegaard committed May 17, 2021
1 parent dce3588 commit 1244c8f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,19 +182,21 @@ Extract features after layer `l1` and visualise them with [UMAP](https://arxiv.o
$ python simple_classifier.py --train --test --extract_features_after_layer = "l1" --visualise_features = "umap"
```
- _Example output:_
<p align="center">
<img src="https://raw.githubusercontent.com/LukasHedegaard/ride/main/docs/figures/examples/mnist_umap.png" height="300">
</p>

<div align="center">
<img src="https://raw.githubusercontent.com/LukasHedegaard/ride/main/docs/figures/examples/mnist_umap.png" width="300">
</div>


### Confusion matrix visualisation
Plot the confution matrix for the test set.
```shell
$ python simple_classifier.py --train --test --test_confusion_matrix 1
```
- _Example output:_
<p align="center">
<img src="https://raw.githubusercontent.com/LukasHedegaard/ride/main/docs/figures/examples/mnist_confusion_matrix.png" height="300">
</p>
<div align="center">
<img src="https://raw.githubusercontent.com/LukasHedegaard/ride/main/docs/figures/examples/mnist_confusion_matrix.png" width="400">
</div>

### Advanced model finetuning
Load model and finetune with [gradual unfreeze and discriminative learning rates](https://arxiv.org/abs/1801.06146)
Expand All @@ -215,6 +217,7 @@ You can check the __timing__ and __FLOPs__ of the model with:
$ python simple_classifier.py --profile_model
```
- _Example output:_

```shell
Results:
flops: 203530
Expand Down

0 comments on commit 1244c8f

Please sign in to comment.