Fix DiT sampling

Apply the PixArt fix here as well.

Move models to checkpoints folder as that makes more sense in this case.
This commit is contained in:
City
2023-12-08 18:40:25 +01:00
parent 80d5d9299b
commit b261c66f29
5 changed files with 117 additions and 76 deletions
+1
View File
@@ -158,6 +158,7 @@ class DiT(nn.Module):
class_dropout_prob=0.1,
num_classes=1000,
learn_sigma=True,
**kwargs,
):
super().__init__()
self.learn_sigma = learn_sigma