StyleTransfer
A real-time image style transfer project based on AdaIn and VGG network , python flask as frontend and HTML5 as backend , project of AI Introduction, a course of Peking Unicersity
Install / Use
/learn @ShiZhuming/StyleTransferREADME
Image Style Transfer
Introduction
This is a real-time image style transfer project based on AdaIn and VGG network , python flask as frontend and HTML5 as backend , project of AI Introduction, a course of Peking Unicersity
Our website is http://pkuszm.cn/
Authors
Zhuming Shi, Weibo Xu, Yiming Zhao
Dependence
Python 3 only
$ apt-get install python3.6
Use requirements.txt to install packages
$ pip3 install -r requirements.txt
Use start.py to start web application
$ python3 start.py
It is recommended to use virtualenv and gunicorn to deploy the website on the server
$ pip install virtualenv
$ virtualenv -p /usr/bin/python3 ENVE
$ gunicorn -c gunicorn.conf.py --error-logfile errorlog.txt start:app -D
Structure
StyleTransfer/
├── LICENSE
├── README.md
├── start.py
├── function.py
├── net.py
├── train.py
├── convert.py
├── thumb.py
├── favicon.ico
├── image
│ ├── upload
│ │ ├── content
│ │ ├── style
│ │ └── convert
│ └── thumb
│ ├── content
│ ├── style
│ └── convert
├── static
├── templates
│ ├── index.html
│ ├── show.html
│ ├── authors.html
│ └── submissions.html
├── test.py
├── .gitignore
└── requirements.txt
References
-
Gatys, Leon A., A. S. Ecker, and M. Bethge. "Image Style Transfer Using Convolutional Neural Networks." Computer Vision & Pattern Recognition 2016.
-
Huang, Xun, and S. Belongie. "Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization." 2017.
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
