From 2263f412817d6d2d36372e7617feb0d97fa57af8 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 4 Jul 2017 02:11:44 +0200 Subject: break out browser and tasks --- python/nsatf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'python') diff --git a/python/nsatf.py b/python/nsatf.py index a35cf51..796f448 100644 --- a/python/nsatf.py +++ b/python/nsatf.py @@ -35,7 +35,6 @@ else: # display(Audio(CONTENT_FILENAME)) # display(Audio(STYLE_FILENAME)) - # In[7]: # Reads wav file and produces spectrum @@ -138,7 +137,6 @@ with g.as_default(), g.device('/cpu:0'), tf.Session() as sess: from sys import stderr -learning_rate= 1e-3 iterations = 100 result = None @@ -159,7 +157,7 @@ with tf.Graph().as_default(): net = tf.nn.relu(conv) - content_loss = ALPHA * 2 * tf.nn.l2_loss( net - content_features) + content_loss = ALPHA * 2 * tf.nn.l2_loss( net - content_features ) style_loss = 0 -- cgit v1.2.3-70-g09d2