diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 19:32:03 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 19:32:03 +0200 |
| commit | 973578e43d9af91f6711cde95aa19c051e7829e5 (patch) | |
| tree | eab0492d9ebb942cd77df09d7d042561c71368d6 /run.py | |
| parent | 24fb661dacd41ad35b6d8352d9d72d05cb2c8327 (diff) | |
smooth sequences
Diffstat (limited to 'run.py')
| -rw-r--r-- | run.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -139,7 +139,8 @@ def smooth_frames(moduleNetwork, tensorOutput, frames, smooth): process(moduleNetwork, tensorInputFirst, tensorInputSecond, tensorOutput) middle_np = tensorOutput.clamp(0.0, 1.0).numpy() - new_frames += [firstFrame, middle_np] + new_frames += [firstFrame] + new_frames += [middle_np] new_frames += [nextFrame] return new_frames |
