Bump version and update README

This commit is contained in:
ixaxaar 2017-10-28 00:14:12 +05:30
parent a5f0d31c02
commit fc863a96ff
2 changed files with 22 additions and 2 deletions

View File

@ -60,10 +60,30 @@ output, (controller_hidden, memory, read_vectors) = \
The copy task, as descibed in the original paper, is included in the repo.
From the project root:
```
```bash
python ./tasks/copy_task.py -cuda 0
```
The copy task can be used to debug memory using [Visdom](https://github.com/facebookresearch/visdom).
Additional step required:
```bash
pip install visdom
python -m visdom.server
```
Open http://localhost:8097/ on your browser, and execute the copy task:
```bash
python ./tasks/copy_task.py -cuda 0
```
The visdom dashboard shows memory as a heatmap for batch 0 every `-summarize_freq` iteration:
![Visdom dashboard](https://user-images.githubusercontent.com/144122/32119691-a54ebd86-bb73-11e7-9ffa-4fa720d7a21a.png)
## General noteworthy stuff
1. DNCs converge with Adam and RMSProp learning rules, SGD generally causes them to diverge.

View File

@ -21,7 +21,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
setup(
name='dnc',
version='0.0.3',
version='0.0.4',
description='Differentiable Neural Computer, for Pytorch',
long_description=long_description,