summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-22 14:37:29 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-22 14:37:29 +0200
commita7fc7b4affa2932008d35ccb02829ea1634fc1c3 (patch)
tree15bca28de1612cba252b1b4e815fd7580745ab16
parent87986f0cbe18d5dc0e4f1f90b3d96a391b8c488d (diff)
push
-rwxr-xr-xrun.sh2
-rw-r--r--test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/run.sh b/run.sh
index b540d82..8c1d424 100755
--- a/run.sh
+++ b/run.sh
@@ -24,7 +24,7 @@ python test.py \
--dataroot "/home/lens/Desktop/thumbs/$dataset/A/train/" \
--name "$dataset" \
--start_img "/home/lens/Desktop/thumbs/$dataset/A/train/frame_1008.png" \
- --how_many 2000 \
+ --how_many 100 \
--model test \
--aspect_ratio 1.777777 \
--which_model_netG unet_256 \
diff --git a/test.py b/test.py
index 07dc26e..849a8db 100644
--- a/test.py
+++ b/test.py
@@ -76,7 +76,7 @@ if __name__ == '__main__':
os.remove(render_dir + "frame_00000.png")
- cmd = ("/usr/bin/ffmpeg", "-i", render_dir + "/frame_%05d.png", "-y", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", render_dir + opt.name + "_" + opt.experiment + ".mp4")
+ cmd = ("/usr/bin/ffmpeg", "-i", render_dir + "frame_%05d.png", "-y", "-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()