suppress a warning

This commit is contained in:
Phil Wang
2022-04-26 11:40:45 -07:00
parent bfbcc283a3
commit eafb136214
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ def resize_image_to(t, image_size, mode = 'bilinear'): # take a look at https://
if orig_image_size == shape:
return t
return F.interpolate(t, size = shape, mode = mode)
return F.interpolate(t, size = shape, mode = mode, align_corners = False)
# classifier free guidance functions

View File

@@ -10,7 +10,7 @@ setup(
'dream = dalle2_pytorch.cli:dream'
],
},
version = '0.0.50',
version = '0.0.51',
license='MIT',
description = 'DALL-E 2',
author = 'Phil Wang',