summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-20 12:07:36 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-20 12:07:36 +0200
commit12e62f959db7f5180977074b8120e1fd812716bb (patch)
treecbf6d07c47aa428d6454732ea2bd602dc5e517f5 /test.py
parent90195077f0914bd7bac62a7399d91efe0bdf9b6e (diff)
expand
Diffstat (limited to 'test.py')
-rw-r--r--test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test.py b/test.py
index aae4dc2..6733a6a 100644
--- a/test.py
+++ b/test.py
@@ -47,8 +47,7 @@ if __name__ == '__main__':
if dataset.name() == 'RecursiveDatasetDataLoader':
im = visuals['fake_B']
save_path = render_dir + "frame_{:05d}.png".format(i+1)
- im = resize(im, (248, 248))
- print(im.size)
+ im = Image.resize(im, (248, 248))
im = ImageOps.expand(im, 4)
util.save_image(im, save_path)
webpage.save()