From 10f7478ecf387e767674f7b568e761a67554819e Mon Sep 17 00:00:00 2001
From: Cameron
Date: Mon, 7 Nov 2016 21:56:58 -0700
Subject: Update README.md
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 747ce5c..b3ae3e0 100644
--- a/README.md
+++ b/README.md
@@ -153,7 +153,9 @@ Animations can be rendered by applying the algorithm to each source frame. For
-
+
+
+
--
cgit v1.2.3-70-g09d2
From 8539b2fe348d0433460cbee5bbb91e57810b2c64 Mon Sep 17 00:00:00 2001
From: Cameron
Date: Mon, 7 Nov 2016 22:02:24 -0700
Subject: Update README.md
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b3ae3e0..2b7e30a 100644
--- a/README.md
+++ b/README.md
@@ -157,7 +157,9 @@ Animations can be rendered by applying the algorithm to each source frame. For
-
+
+*Top row (left to right)*: source frames, ground truth optical flow
+*Bottom row (left to right)*: disoccluded regions and motion boundaries, stylized frames
### Gradient Descent Initialization
The initialization of the gradient descent is controlled using `--init_img_type` for single images and `--init_frame_type` or `--first_frame_type` for video frames. White noise allows an arbitrary number of distinct images to be generated. Whereas, initializing with a fixed image always converges to the same output.
--
cgit v1.2.3-70-g09d2
From 6432011ff3605f6c4aa6fbe02114b954c7f4db78 Mon Sep 17 00:00:00 2001
From: Cameron
Date: Mon, 7 Nov 2016 22:03:10 -0700
Subject: Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 2b7e30a..6234a26 100644
--- a/README.md
+++ b/README.md
@@ -158,7 +158,7 @@ Animations can be rendered by applying the algorithm to each source frame. For
-*Top row (left to right)*: source frames, ground truth optical flow
+*Top row (left to right)*: source frames, ground-truth optical flow
*Bottom row (left to right)*: disoccluded regions and motion boundaries, stylized frames
### Gradient Descent Initialization
--
cgit v1.2.3-70-g09d2
From 5437aedcf027ab4f48a43b24b069efb4639db286 Mon Sep 17 00:00:00 2001
From: Cameron
Date: Mon, 7 Nov 2016 22:07:28 -0700
Subject: Update neural_style.py
---
neural_style.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/neural_style.py b/neural_style.py
index e199678..936abce 100644
--- a/neural_style.py
+++ b/neural_style.py
@@ -792,8 +792,6 @@ def get_content_weights(frame, prev_frame):
backward_path = os.path.join(args.video_input_dir, backward_fn)
forward_weights = read_weights_file(forward_path)
backward_weights = read_weights_file(backward_path)
- forward_weights = np.clip(forward_weights, 0, 255).astype('uint8')
- backward_weights = np.clip(backward_weights, 0, 255).astype('uint8')
return forward_weights #, backward_weights
def warp_image(src, flow):
@@ -874,4 +872,4 @@ def main():
else: render_single_image()
if __name__ == '__main__':
- main()
\ No newline at end of file
+ main()
--
cgit v1.2.3-70-g09d2
From e9bd5f3525f9aa4b200a8c00cbff7b95c09ae6dc Mon Sep 17 00:00:00 2001
From: Cameron
Date: Mon, 7 Nov 2016 22:13:12 -0700
Subject: Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 6234a26..ba9e6ad 100644
--- a/README.md
+++ b/README.md
@@ -158,7 +158,7 @@ Animations can be rendered by applying the algorithm to each source frame. For
-*Top row (left to right)*: source frames, ground-truth optical flow
+*Top row (left to right)*: source frames, ground-truth optical flow visualized
*Bottom row (left to right)*: disoccluded regions and motion boundaries, stylized frames
### Gradient Descent Initialization
--
cgit v1.2.3-70-g09d2
From 14acee513bc63f82b8d069ccf8cd09454bed6811 Mon Sep 17 00:00:00 2001
From: Cameron
Date: Wed, 9 Nov 2016 12:31:18 -0700
Subject: Update neural_style.py
---
neural_style.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/neural_style.py b/neural_style.py
index 936abce..62875f6 100644
--- a/neural_style.py
+++ b/neural_style.py
@@ -551,7 +551,7 @@ def normalize(weights):
denom = sum(weights)
if denom > 0.:
return [float(i) / denom for i in weights]
- else: return [0.]
+ else: return [0. for _ in weights]
def maybe_make_directory(dir_path):
if not os.path.exists(dir_path):
--
cgit v1.2.3-70-g09d2
From 96af07dea4d5b29b8207553e05abb8b9310ca8b8 Mon Sep 17 00:00:00 2001
From: Cameron
Date: Thu, 10 Nov 2016 15:33:37 -0700
Subject: Add files via upload
---
examples/lions/kandinsky_output.png | Bin 641004 -> 608539 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/examples/lions/kandinsky_output.png b/examples/lions/kandinsky_output.png
index 9d47226..2174d42 100644
Binary files a/examples/lions/kandinsky_output.png and b/examples/lions/kandinsky_output.png differ
--
cgit v1.2.3-70-g09d2
From 333f36964b362d04349ee2ee125ae8611c97ba9c Mon Sep 17 00:00:00 2001
From: Cameron
Date: Sat, 12 Nov 2016 14:33:24 -0700
Subject: Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index ba9e6ad..b1f4091 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Transferring the style of various artworks to the same content image produces qu
-Here we reproduce Figure 3 from the first paper, which renders a photograph of the Neckar river in Tübingen, Germany in the style of 5 different iconic paintings [The Shipwreck of the Minotaur](http://www.artble.com/artists/joseph_mallord_william_turner/paintings/the_shipwreck_of_the_minotaur), [The Starry Night](https://www.wikiart.org/en/vincent-van-gogh/the-starry-night-1889), [Composition VII](https://www.wikiart.org/en/wassily-kandinsky/composition-vii-1913), [The Scream](https://www.wikiart.org/en/edvard-munch/the-scream-1893), [Seated Nude](http://www.pablopicasso.org/seated-nude.jsp):
+Here we reproduce Figure 3 from the first paper, which renders a photograph of the Neckarfront in Tübingen, Germany in the style of 5 different iconic paintings [The Shipwreck of the Minotaur](http://www.artble.com/artists/joseph_mallord_william_turner/paintings/the_shipwreck_of_the_minotaur), [The Starry Night](https://www.wikiart.org/en/vincent-van-gogh/the-starry-night-1889), [Composition VII](https://www.wikiart.org/en/wassily-kandinsky/composition-vii-1913), [The Scream](https://www.wikiart.org/en/edvard-munch/the-scream-1893), [Seated Nude](http://www.pablopicasso.org/seated-nude.jsp):
--
cgit v1.2.3-70-g09d2