Created
January 8, 2018 14:09
-
-
Save ArnoutDevos/92c9a9a096762a5bf668e0889840d7e6 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
# Content loss emphasis. | |
ALPHA = 0.0025 | |
# Style loss emphasis. | |
BETA = 1 | |
total_loss = ALPHA * content_loss + BETA * style_loss | |
optimizer = tf.train.AdamOptimizer(2.0) | |
train_step = optimizer.minimize(total_loss) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment