Created
February 3, 2019 23:41
-
-
Save danielhavir/6747871790e5cfec98149e765bd9cdfb to your computer and use it in GitHub Desktop.
This file contains 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 content_loss(content_features, generated_features, j): | |
loss_content = F.mse_loss(generated_features[j], content_features[j]) | |
return loss_content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment