diff options
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,7 @@ from util import html import subprocess +from time import sleep if __name__ == '__main__': opt = TestOptions().parse() @@ -37,9 +38,10 @@ if __name__ == '__main__': if dataset.name() == 'RecursiveDatasetDataLoader': last_image = "results/woodscaled_4_pix2pix/test_latest/images/" + ims[1] next_image = "recursive/frame_{:04d}.png".format(i+1) + print(last_image) + print(next_image) cmd = ("/bin/cp", last_image, next_image) process = subprocess.Popen(cmd, stdout=subprocess.PIPE) output, error = process.communicate() - dataset.append(next_image) webpage.save() |
