From a956f8ca3521a23071d2d260bdcd59ccfb0772a1 Mon Sep 17 00:00:00 2001 From: junyanz Date: Sun, 14 Jan 2018 16:45:18 -0800 Subject: add 'aspect_ratio' in the test code --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.py') 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() -- cgit v1.2.3-70-g09d2