Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between this implementation and PyTorch team's version? #22

Open
chrischen opened this issue May 30, 2022 · 1 comment
Open

Comments

@chrischen
Copy link

What is the difference of this implementation (regarding just static image style transfer, not for videos) vs the PyTorch teams implementation: the PyTorch TeamPyTorch Examples: fast-neural-style?

@rrmina
Copy link
Owner

rrmina commented Jun 1, 2022

They are basically the same except for 2 major things:

  1. This repo uses the original VGG networks used in the original fast-neural-style paper. In contrast, the Pytorch Team example uses VGG networks from Pytorch Image Model Zoo.
  2. This repo uses (1) Content Loss, (2) Style Loss, and (3) Total Variation Loss, while Pytorch Team example uses only (1) and (2). Total Variation Loss smooths the pixels of the output image by minimizing the difference of pixel values of adjacent pixels.

TL;DR This repo is a more faithful reproduction of the original fast-neural-style paper, but both this and Pytorch's should more or less have similar results! :)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants