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

Faces look contorted #10

Open
redwraith2 opened this issue Dec 28, 2017 · 1 comment
Open

Faces look contorted #10

redwraith2 opened this issue Dec 28, 2017 · 1 comment

Comments

@redwraith2
Copy link

When I run stylize with human faces as the content image, it can often make them look severely contorted. Usually, it will make teeth look larger, edges of the face are slightly wavy and eyes look puffy and very asymmetric in size and shape. Similarly, if you run stylize on a landscape with zero alpha, it produces a simplified version of the photo resembling a watercolor. Is there any way to prevent/change/tune this behavior so inputs look less contorted/higher detail?

Image size doesn't seem to matter for this effect. I'm running this on 1080+ resolution images.

@redwraith2
Copy link
Author

redwraith2 commented Jan 5, 2018

Seems to be this is actually a sizing thing caused by relu5_1 compression -- when I gave it a zoomed in selfie, it went away when I increased the resolution from 512 to 1024. For human portraits, it needs to be 2048 for eyes to look natural.

It also goes away completely when you only use relu1-4.

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

1 participant