summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorjunyanz <junyanz@berkeley.edu>2018-01-14 16:45:18 -0800
committerjunyanz <junyanz@berkeley.edu>2018-01-14 16:45:18 -0800
commita956f8ca3521a23071d2d260bdcd59ccfb0772a1 (patch)
tree97f08fc42a621d684d41d40f18925480966c7c07 /test.py
parentfb533f82e4c8980701cb8860c5ba7f673f556791 (diff)
add 'aspect_ratio' in the test code
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index fc0f1bb..65e79d7 100644
--- a/test.py
+++ b/test.py
@@ -28,6 +28,6 @@ for i, data in enumerate(dataset):
visuals = model.get_current_visuals()
img_path = model.get_image_paths()
print('%04d: process image... %s' % (i, img_path))
- visualizer.save_images(webpage, visuals, img_path)
+ visualizer.save_images(webpage, visuals, img_path, aspect_ratio=opt.aspect_ratio)
webpage.save()