diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-18 14:03:49 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-18 14:03:49 +0200 |
| commit | 7fa8cfe96edf233bf81da2043de5def3eccc4bea (patch) | |
| tree | 38e5907a1747af1f39830fc5034d9c8e0da1332b /test.py | |
| parent | f8e0319881ab38a5d6bcce280b01ada6ba2cd965 (diff) | |
k
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -33,10 +33,9 @@ if __name__ == '__main__': img_path = model.get_image_paths() print('%04d: process image... %s' % (i, img_path)) ims = visualizer.save_images(webpage, visuals, img_path, aspect_ratio=opt.aspect_ratio) - print(dataset.name()) if dataset.name() == 'RecursiveDatasetDataLoader': last_image = "results/woodscaled_4_pix2pix/test_latest/images/" + ims[1] - next_image = "recursive/frame{:04d}".format(i+1) + next_image = "recursive/frame_{:04d}.png".format(i+1) cmd = ("/bin/cp", last_image, next_image) process = subprocess.Popen(cmd, stdout=subprocess.PIPE) output, error = process.communicate() |
