Practical overview
When it fits
Use it to study or reproduce the repository’s documented GridWorld training workflow, or as a code reference when adapting experiments to related grid-based planning tasks.
Who it is for
- Researchers and students studying Value Iteration Networks or reinforcement-learning models.
- Developers seeking a TensorFlow reference implementation for GridWorld planning experiments.
Documented uses
- Train the model on the included 8×8 GridWorld dataset.
- Inspect a TensorFlow implementation based on the paper and the authors’ earlier Theano code.
- Explore training-progress monitoring with the documented TensorBoard logging setup.
Requirements & limits
The source is a public GitHub repository listed under the Apache-2.0 license.
- The documented default is the included 8×8 GridWorld dataset; 16×16 and 28×28 datasets are linked from the original authors’ repository.
- The README reports about 98.5% accuracy in under 30 epochs for 8×8, compared with about 99.6% listed in the paper.
- The repository documents Python 3.6+, TensorFlow 1.0+, and SciPy 0.18.1+ for data loading.
- Other domains are discussed in reference to the original model; this repository’s described training workflow is GridWorld.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train the included 8×8 GridWorld model
Run the repository’s documented default training setup on its included 8×8 GridWorld dataset.
Before you start
- Python 3.6 or later
- TensorFlow 1.0 or later
- SciPy 0.18.1 or later to load data
- The repository and its included 8×8 GridWorld dataset
Steps
Install the documented dependencies in a suitable Python environment.
From the repository, run the command below to start the default 8×8 GridWorld training.
python3 train.pyTo monitor progress, set
config.logtoTrueand launchtensorboard --logdir /tmp/vintf/; changeconfig.logdirif using another log directory.
Expected outcome
The documented training process runs the 8×8 GridWorld model; the README reports convergence in under 30 epochs at about 98.5% accuracy.
Guide limitations
- The reported accuracy and convergence are README results, not a guarantee for other setups.
- The README documents 8×8 GridWorld as the default; it does not provide setup steps here for the 16×16 and 28×28 datasets.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 18 October 2026
- Original website title
- hi-abhi/tensorflow-value-iteration-networks · Official homepage title · retained in its source language
Related options
The authors’ original Theano implementation — The README identifies it as the original implementation on which this TensorFlow code is based.

