From a073c74360512e24a9b2d1e76fd38cb3aa5e88d2 Mon Sep 17 00:00:00 2001 From: "jules@lens" Date: Thu, 19 Apr 2018 00:13:32 +0200 Subject: training!! --- test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test.py') diff --git a/test.py b/test.py index 066c6c1..2c37e90 100644 --- a/test.py +++ b/test.py @@ -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() -- cgit v1.2.3-70-g09d2