Practical overview
When it fits
Use it when you need a local command-line workflow for image stylization or model training and can provide the required images, model files and Python/PyTorch environment.
Who it is for
- People who want to stylize images locally using a saved model.
- Developers who want a command-line image stylization workflow or want to train a style-transfer model.
Documented uses
- Combine the content of a photograph with the look of a selected artistic style.
- Process an image using a saved style-transfer model and write the result to a chosen path.
- Train and save a style-transfer model using a dataset and style image.
Requirements & limits
The repository is public and identifies an MIT license. The README documents Python 3.5 or 3.6 for its virtual-environment setup and also describes Docker use.
- Evaluation requires a content image and saved model; a training dataset and style image are needed for the training workflow.
- The documented CUDA option selects CPU or GPU execution, and content scaling can reduce memory use.
- This repository uses pretrained Caffe2 VGG, while the PyTorch Examples implementation uses pretrained PyTorch VGG; the README says preprocessing, weight parameters and outputs differ.
- The repository states that it is no longer maintained and directs users to the PyTorch Examples implementation.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Stylize an image with a saved model
Use the documented evaluation command to save a stylized image.
Before you start
- Python 3.5 or 3.6 with the listed requirements installed, or Docker.
- A content image and a saved style-transfer model.
Steps
Create and activate a Python virtual environment, then install the requirements, or build the Docker image.
Run the evaluation command with paths for the content image, model and output image.
Set the CUDA option to 0 for CPU or 1 for GPU.
Expected outcome
The command is configured to write a stylized image to the specified output path.
Guide limitations
- The README says CPU use is supported and a GPU can provide a significant speed-up.
- Reduce the content image dimensions with the content-scale option if memory is an issue.
- The repository says this codebase is no longer maintained.
Prepare a style-transfer model
Set up the documented training command with a dataset and chosen style image.
Before you start
- A training dataset arranged in a folder containing another folder with training images.
- A style image, a VGG model directory and a destination directory for the trained model.
- Python and the documented PyTorch and SciPy dependencies.
Steps
Prepare the dataset and choose a style image.
Set the VGG model directory and save-model directory.
Use the train command with the documented dataset, style-image, VGG, save-model, epoch and CUDA arguments.
Expected outcome
The command is configured to train a style-transfer model and save it in the specified directory.
Guide limitations
- The README says a GPU can significantly speed up training.
- The repository is no longer maintained.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 November 2026
- Original website title
- abhiskk/fast-neural-style · Official homepage title · retained in its source language
Related options
PyTorch Examples fast_neural_style — The repository README points to this implementation as the suggested codebase to use instead and notes differences in VGG preprocessing and resulting outputs.

