summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-19 02:23:33 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-19 02:23:33 +0200
commit9f7b4e3383c10723ecdad9ca3687d667fc4e91aa (patch)
tree9d8c987b123c881e5798f01f38e662f605c0709d
parent34c06911135f84d72663be2bd1cb61b6fe2ac32a (diff)
scp and copy
-rwxr-xr-xrecursive.sh1
-rw-r--r--test.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/recursive.sh b/recursive.sh
index 4255210..31f34da 100755
--- a/recursive.sh
+++ b/recursive.sh
@@ -4,6 +4,7 @@ python test.py \
--start_img /home/lens/Desktop/thumbs/woodscaled/A/train/frame_0000.png \
--how_many 2000 \
--model test \
+ --aspect_ratio 1.777777 \
--which_model_netG unet_256 \
--which_direction AtoB \
--dataset_mode recursive \
diff --git a/test.py b/test.py
index adfce67..5c7a01f 100644
--- a/test.py
+++ b/test.py
@@ -50,7 +50,7 @@ if __name__ == '__main__':
webpage.save()
- cmd = ("/usr/bin/ffmpeg", "-i", "frame_%04d.png", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", render_dir + opt.name + "_" + opt.experiment + ".mp4")
+ cmd = ("/usr/bin/ffmpeg", "-i", "frame_%05d.png", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", render_dir + opt.name + "_" + opt.experiment + ".mp4")
process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
output, error = process.communicate()