Practical overview
When it fits
Use it when you need a code-level reference or starting point for Pointer Network experiments, especially the documented TSP sequence-selection task.
Who it is for
- Researchers studying Pointer Networks and sequence-to-index prediction.
- Developers experimenting with learned solutions to traveling-salesperson instances.
Documented uses
- Train a Pointer Network on TSP data using configurable input length and hidden dimension.
- Generate TSP training data within the documented example workflow.
- Run the model in test mode and inspect predictions, targets and loss.
- View training logs with TensorBoard.
Requirements & limits
The repository is public and specifies an MIT license.
- The documented dependencies are Python 2.7 and TensorFlow 0.12.1.
- The README offers both a paper-dataset training example and an example that generates its own dataset.
- The implementation describes multithreaded data pipelines to reduce I/O latency.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train a TSP model from the README examples
Run the documented training stage with either a paper dataset or generated TSP data.
Before you start
- Python 2.7
- requests
- tqdm
- TensorFlow 0.12.1
Steps
Use the README command with --task=tsp --max_data_length=20 --hidden_dim=512 to select the paper dataset.
Alternatively, use --task=tsp --max_data_length=10 --hidden_dim=128 to generate the dataset itself.
Run the selected command with python main.py.
Expected outcome
The documented workflow starts model training on TSP data; the README also shows TensorBoard logging through tensorboard --logdir=logs --host=0.0.0.0.
Guide limitations
- The README does not specify additional hardware requirements or guarantee the example results on other environments.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 November 2026
- Original website title
- devsisters/pointer-network-tensorflow · Official homepage title · retained in its source language

