Style transfer research paper implementation (ECCV 2018)
Top 47.7% on sourcepulse
This repository provides the source code for ECCV 2018 paper "A Style-Aware Content Loss for Real-time HD Style Transfer". It enables users to perform high-definition artistic style transfer on images and videos in real-time, targeting researchers and developers in computer vision and graphics.
How It Works
The project implements a style-aware content loss mechanism for neural style transfer. This approach enhances the quality and realism of stylized outputs by considering perceptual features beyond simple texture matching, allowing for more faithful preservation of content structure while adapting to artistic styles.
Quick Start & Requirements
CUDA_VISIBLE_DEVICES=0 python main.py --model_name=model_van-gogh --phase=inference --image_size=1280
.CUDA_VISIBLE_DEVICES=1 python main.py --model_name=model_van-gogh_new --batch_size=1 --phase=train --image_size=768 --lr=0.0002 --dsr=0.8 --ptcd=/path/to/Places2/data_large --ptad=./data/vincent-van-gogh_road-with-cypresses-1890
.Highlighted Details
Maintenance & Community
The project originates from CompVis, a research group known for significant contributions to computer vision. No specific community channels (like Discord/Slack) or active maintenance signals are evident in the README.
Licensing & Compatibility
Limitations & Caveats
The project relies on older versions of TensorFlow (1.x) and Python 2.7, which may present compatibility challenges with modern development environments. The large dataset requirements for training also pose a significant barrier.
4 years ago
Inactive