convert VAE moments back to np
This commit is contained in:
parent
b1a989b71c
commit
47c7f5d1da
|
@ -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,)
|
||||
|
||||
|
|
Loading…
Reference in New Issue