TopGit theo dõi lengstrom/fast-style-transfer trên GitHub trong nhóm AI Tools, đã đạt 11.0k sao. TensorFlow CNN for fast style transfer ⚡🖥🎨🖼
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Add styles from famous paintings to any photo in a fraction of a second! You can even style videos!
It takes 100ms on a 2015 Titan X to style the MIT Stata Center (1024×680) like Udnie, by Francis Picabia.
Our implementation is based off of a combination of Gatys' A Neural Algorithm of Artistic Style, Johnson's Perceptual Losses for Real-Time Style Transfer and Super-Resolution, and Ulyanov's Instance Normalization.
Sponsorship
Please consider sponsoring my work on this project!
License
Copyright (c) 2016 Logan Engstrom. Contact me for commercial use (or rather any use that is not academic research) (email: engstrom at my university's domain dot edu). Free for research use, as long as proper attribution is given and this copyright notice is retained.
Video Stylization
Here we transformed every frame in a video, then combined the results. Click to go to the full demo on YouTube! The style here is Udnie, as above.
See how to generate these videos here!
Image Stylization
We added styles from various paintings to a photo of Chicago. Click on thumbnails to see full applied style images.
Implementation Details
Our implementation uses TensorFlow to train a fast style transfer network. We use roughly the same transformation network as described in Johnson, except that batch normalization is replaced with Ulyanov's instance normalization, and the scaling/offset of the output tanh layer is slightly different. We use a loss function close to the one described in Gatys, using VGG19 instead of VGG16 and typically using "shallower" layers than in Johnson's implementation (e.g. we use relu1_1 rather than relu1_2). Empirically, this results in larger scale style features in transformations.
Run the following command in the notebook or just conda install the package:
!pip install moviepy==1.0.2
Follow the commands below to use fast-style-transfer
Documentation
Training Style Transfer Networks
Use style.py to train a new style transfer network. Run python style.py to view all the possible parameters. Training takes 4-6 hours on a Maxwell Titan X. More detailed documentation here. Before you run this, you should run setup.sh. Example usage:
Use evaluate.py to evaluate a style transfer network. Run python evaluate.py to view all the possible parameters. Evaluation takes 100 ms per frame (when batch size is 1) on a Maxwell Titan X. More detailed documentation here. Takes several seconds per frame on a CPU. Models for evaluation are located here. Example usage:
Use transform_video.py to transfer style into a video. Run python transform_video.py to view all the possible parameters. Requires ffmpeg. More detailed documentation here. Example usage:
lengstrom/fast-style-transfer thuộc nhóm AI Tools trên TopGit, cùng 4 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về lengstrom/fast-style-transfer ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/lengstrom/fast-style-transfer là nguồn chính thức.
lengstrom/fast-style-transfer có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho lengstrom/fast-style-transfer. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
lengstrom/fast-style-transfer có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho lengstrom/fast-style-transfer. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
lengstrom/fast-style-transfer là gì?
lengstrom/fast-style-transfer (lengstrom/fast-style-transfer) là dự án Python trên GitHub. Theo mô tả gốc: TensorFlow CNN for fast style transfer ⚡🖥🎨🖼
Vì sao lengstrom/fast-style-transfer được xếp vào nhóm AI Tools?
TopGit xếp lengstrom/fast-style-transfer vào nhóm AI Tools dựa trên GitHub topics và mô tả của repo (gắn thẻ: "deep-learning", "neural-networks", "neural-style"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc fast-style-transfer có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về fast-style-transfer.