Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hi-abhi/tensorflow-value-iteration-networks
TensorFlow implementation of the Value Iteration Networks (NIPS '16) paper
https://github.com/hi-abhi/tensorflow-value-iteration-networks
deep-learning machine-learning neural-networks reinforcement-learning tensorflow
Last synced: 3 months ago
JSON representation
TensorFlow implementation of the Value Iteration Networks (NIPS '16) paper
- Host: GitHub
- URL: https://github.com/hi-abhi/tensorflow-value-iteration-networks
- Owner: hi-abhi
- License: apache-2.0
- Created: 2016-12-27T00:54:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-07T08:59:42.000Z (over 5 years ago)
- Last Synced: 2024-07-28T16:43:57.760Z (3 months ago)
- Topics: deep-learning, machine-learning, neural-networks, reinforcement-learning, tensorflow
- Language: Python
- Homepage:
- Size: 449 KB
- Stars: 552
- Watchers: 29
- Forks: 121
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Value Iteration Networks](https://arxiv.org/abs/1602.02867) in TensorFlow
> Tamar, A., Wu, Y., Thomas, G., Levine, S., and Abbeel, P. _Value Iteration Networks_. Neural Information Processing Systems (NIPS) 2016
This repository contains an implementation of Value Iteration Networks in TensorFlow which won the Best Paper Award at NIPS 2016. This code is based on the original Theano implementation by the authors.
![Value Iteration Network and Module](assets/vin.png)
## Training
- Download the 16x16 and 28x28 GridWorld datasets from the [author's repository](https://github.com/avivt/VIN/tree/master/data). This repository contains the 8x8 GridWorld dataset for convenience and its small size.
```
# Runs the 8x8 Gridworld with default parameters
python3 train.py
```If you want to monitor training progress change `config.log` to `True` and launch `tensorboard --logdir /tmp/vintf/`. The log directory is `/tmp/vintf/` by default, but can be changed in `config.logdir`. The code currently runs the 8x8 GridWorld model by default.
The 8x8 GridWorld model converges in under 30 epochs with about ~98.5% accuracy. The paper lists that it should be around 99.6% and I was able to reproduce this with the Theano code. Results for 16x16 and 28x28 can be seen [here](https://github.com/TheAbhiKumar/tensorflow-value-iteration-networks/issues/6)
## Dependencies
* Python >= 3.6
* TensorFlow >= 1.0
* SciPy >= 0.18.1 (to load the data)## Datasets
* The GridWorld dataset used is from the author's repository. It also contains Matlab scripts to generate the dataset. The code to process the dataset is from the original repository with minor modifications under this [license](https://github.com/avivt/VIN/blob/master/LICENSE.md)
* The model was also originally tested on three other domains and the author's original code will be [released eventually](https://github.com/avivt/VIN/issues/4)
* Mars Rover Navigation
* Continuous control
* WebNav## Resources
* [Value Iteration Networks on arXiv](https://arxiv.org/abs/1602.02867)
* [Aviv Tamar's (author) original implementation in Theano](https://github.com/avivt/VIN)
* [ICML Slides](http://docs.wixstatic.com/ugd/3195dc_6ab5cea3189741a3b605fc6fc1d79bb8.pdf)