summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):