1
0
Fork 0

convert VAE moments back to np

This commit is contained in:
Sean Sube 2023-04-29 16:02:09 -05:00
parent b1a989b71c
commit 47c7f5d1da
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class VAEWrapper(object):
result_row.append(tile[:, :, :row_limit, :row_limit])
result_rows.append(torch.cat(result_row, dim=3))
moments = torch.cat(result_rows, dim=2)
moments = torch.cat(result_rows, dim=2).numpy()
if not return_dict:
return (moments,)