Practical overview
When it fits
Use it when you want a documented Python workflow for experimenting with visual analogy transformations on shapes, rather than a hosted image-editing application.
Who it is for
- Researchers exploring deep visual analogy-making.
- Developers prototyping analogy-based transformations of image attributes on shape data.
Documented uses
- Train and test visual analogy transformations on the shape dataset.
- Explore vector-addition, deep-network and manifold-traversal approaches.
- Prototype transformations involving shape angle, scale or position.
Requirements & limits
The repository specifies an MIT license.
- The implementation requires Python, TensorFlow and SciPy.
- The documented dataset is shapes; moving to another image domain requires modification.
- The README states vector multiplication is not implemented.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train or test the shape-dataset model
Prepare the documented shape dataset and start the model's training or testing command.
Before you start
- Python 2.7 or Python 3.3+
- TensorFlow
- SciPy
- The repository and its included scripts
Steps
Run ./download.sh to download the dataset.
For training, run python main.py --dataset shape --is_train True.
For testing, run python main.py --dataset shape.
Expected outcome
The README provides commands to train or test visual analogy transformations on the shape dataset.
Guide limitations
- The documented commands and objectives concern the shape dataset.
- Vector multiplication is not implemented.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 21 November 2026
- Original website title
- carpedm20/visual-analogy-tensorflow · Official homepage title · retained in its source language

