summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-20 12:14:41 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-20 12:14:41 +0200
commit678703c869908d8dd04947a9de00e35794404855 (patch)
tree737e15d5fd30a886c5bcd9cb67c9fed846878797 /test.py
parent12e62f959db7f5180977074b8120e1fd812716bb (diff)
expand
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 6733a6a..2c73c16 100644
--- a/test.py
+++ b/test.py
@@ -47,7 +47,7 @@ if __name__ == '__main__':
if dataset.name() == 'RecursiveDatasetDataLoader':
im = visuals['fake_B']
save_path = render_dir + "frame_{:05d}.png".format(i+1)
- im = Image.resize(im, (248, 248))
+ im = im.resize((248, 248))
im = ImageOps.expand(im, 4)
util.save_image(im, save_path)
webpage.save()