summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron <cysmith1010@gmail.com>2016-10-09 23:45:31 -0600
committerGitHub <noreply@github.com>2016-10-09 23:45:31 -0600
commit133e78a2e2b732ab2f5d32e14394c692940bc36c (patch)
tree9feda2c2c4c73d9459ef6866975cb0a0aea0f15f
parentad912ceb7204f18d8cae8e476e4d62892a4a9442 (diff)
Add files via upload
-rw-r--r--neural_style.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neural_style.py b/neural_style.py
index c3b69df..565dbc0 100644
--- a/neural_style.py
+++ b/neural_style.py
@@ -537,7 +537,7 @@ def read_weights_file(path):
return weights
def norm(weights):
- return [float(i)/sum(weights) for i in weights]
+ return [float(i)/sum(weights) for i in weights]
def maybe_make_directory(dir_path):
if not os.path.exists(dir_path):