diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-07-04 02:11:44 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-07-04 02:11:44 +0200 |
| commit | 2263f412817d6d2d36372e7617feb0d97fa57af8 (patch) | |
| tree | c5bc7fd177636a295a508c12e1cc2d703c252056 /python | |
| parent | 0075896decfe2ebf81c2610f4367929c0d51b1d8 (diff) | |
break out browser and tasks
Diffstat (limited to 'python')
| -rw-r--r-- | python/nsatf.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 |
