diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 15:40:07 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 15:40:07 +0200 |
| commit | d9cc9031d60d09f62e14232d94e5cd343b2485fe (patch) | |
| tree | 42de55c93320de7183e9e2459a18f55c678e4270 | |
| parent | 97272e6bde3ebf1a409489aeecd11bc98a3bb193 (diff) | |
printttt
| -rw-r--r-- | run.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -92,7 +92,9 @@ else: tensorInputFirst = numpy.rollaxis(numpy.asarray(inputFirst)[:,:,::-1], 2, 0).astype(numpy.float32) / 255.0 tensorInputSecond = numpy.rollaxis(numpy.asarray(inputSecond)[:,:,::-1], 2, 0).astype(numpy.float32) / 255.0 tree = process_tree(moduleNetwork, tensorInputFirst, tensorInputSecond, tensorOutput, arguments_steps) - writer = FFMPEG_VideoWriter('./renders/' + arguments_strVideoOut, (1024, 512), 25) + outputPath = './renders/' + arguments_strVideoOut + print('writing {}'.format(outputPath)) + writer = FFMPEG_VideoWriter(outputPath, (1024, 512), 25) writer.write_frame(inputFirst) for frame in tree: writer.write_frame(frame) |
