Style transfer that keeps it real
This repo implements an ECCV 2018 algorithm that transfers one photo's visual style onto another, aiming for photorealistic results instead of artistic abstraction.

What it does Given a content photo and a style photo, the code transfers the style image’s visual characteristics onto the content image. It is a PyTorch implementation of the ECCV 2018 paper A Closed-form Solution to Photorealistic Image Stylization. The repository also includes a tutorial demonstrating three ways to run the algorithm.
The interesting bit The paper titles the method as a “closed-form solution,” which implies the stylization is computed directly rather than through the iterative refinement common to earlier neural approaches. The README itself offers almost no detail on the mechanics, so plan on reading the paper.
Key highlights
- Targets photorealistic stylization rather than artistic abstraction
- Includes a tutorial with three usage patterns
- Released under a CC BY-NC-SA 4.0 license (non-commercial only)
- Targets PyTorch 0.4.0 and Python 2.7/3.5
Caveats
- The stack is frozen circa 2018; PyTorch 0.4.0 and Python 2.7/3.5 badges suggest modern environments will need coaxing
- CC BY-NC-SA 4.0 license blocks commercial use
- README is bare-bones and explicitly defers all algorithmic details to the paper
Verdict A useful reference if you’re studying photorealistic style transfer or reproducing 2018 ECCV results. Look elsewhere for a modern, production-ready pipeline.
Frequently asked
- What is NVIDIA/FastPhotoStyle?
- This repo implements an ECCV 2018 algorithm that transfers one photo's visual style onto another, aiming for photorealistic results instead of artistic abstraction.
- Is FastPhotoStyle open source?
- Yes — NVIDIA/FastPhotoStyle is an open-source project tracked on heatdrop.
- What language is FastPhotoStyle written in?
- NVIDIA/FastPhotoStyle is primarily written in Python.
- How popular is FastPhotoStyle?
- NVIDIA/FastPhotoStyle has 11.2k stars on GitHub.
- Where can I find FastPhotoStyle?
- NVIDIA/FastPhotoStyle is on GitHub at https://github.com/NVIDIA/FastPhotoStyle.