Created
January 28, 2021 01:28
-
-
Save J3698/ddd5398e9a5500c3f2b8a054ba375e0b to your computer and use it in GitHub Desktop.
create stylized image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def create_stylized_image(decoder, content_features, style_features): | |
stylized_content_features = adain(content_features[-1], style_features[-1]) | |
stylized_image = decoder(stylized_content_features) | |
return stylized_image, stylized_content_features |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment