From 133e78a2e2b732ab2f5d32e14394c692940bc36c Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 9 Oct 2016 23:45:31 -0600 Subject: Add files via upload --- neural_style.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'neural_style.py') 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): -- cgit v1.2.3-70-g09d2