update readme

This commit is contained in:
wassname
2017-11-15 16:05:29 +08:00
parent da03d00a88
commit ad74982ebc
4 changed files with 833 additions and 272 deletions
+1
View File
@@ -1,3 +1,4 @@
videos/
# Created by https://www.gitignore.io/api/linux,python,windows,jupyternotebook
Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

+818 -271
View File
File diff suppressed because one or more lines are too long
+14 -1
View File
@@ -1 +1,14 @@
See main.ipynb
This project generates animations of pytorch optimizers solving toy problems. Examples Below.
[Some nice animations](http://www.denizyuret.com/2015/03/alec-radfords-animations-for.html) were posted a few years ago by Alex Radford but didn't include Adam or landscapes with noise. [Louis Tiao](http://louistiao.me/notes/visualizing-and-animating-optimization-algorithms-with-matplotlib/) blogged about how to make the visulisations. The [pytorch unit tests](https://github.com/pytorch/pytorch/blob/master/test/test_optim.py) show how to run the optimizers on a test function. I pulled these together and shared the result at https://github.com/wassname/visualizing_torch_optim. Please make some better animations than I did and share them.
# Examples
![](docs/videos/beales.gif)
# Usage:
- `git clone https://github.com/wassname/visualizing_torch_optim`
- `jupyter notebook`
- open main.ipynb
- install any missing dependencies with pip