revert back to old upsampling, paper does not work

This commit is contained in:
Phil Wang
2022-04-26 07:39:04 -07:00
parent 45262a4bb7
commit 0b28ee0d01
3 changed files with 2 additions and 12 deletions

View File

@@ -693,7 +693,7 @@ class DiffusionPrior(nn.Module):
# decoder
def Upsample(dim):
return QueryAttnUpsample(dim)
return nn.ConvTranspose2d(dim, dim, 4, 2, 1)
def Downsample(dim):
return nn.Conv2d(dim, dim, 4, 2, 1)