diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-22 14:37:29 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-22 14:37:29 +0200 |
| commit | a7fc7b4affa2932008d35ccb02829ea1634fc1c3 (patch) | |
| tree | 15bca28de1612cba252b1b4e815fd7580745ab16 | |
| parent | 87986f0cbe18d5dc0e4f1f90b3d96a391b8c488d (diff) | |
push
| -rwxr-xr-x | run.sh | 2 | ||||
| -rw-r--r-- | test.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 \ @@ -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() |
