mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 09:44:19 +01:00
revert back to old upsampling, paper does not work
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user