Commit
·
81b0e34
1
Parent(s):
3a2b2c9
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -11,7 +11,7 @@ class UnetSchedulerOneForwardPipeline(DiffusionPipeline):
|
|
| 11 |
|
| 12 |
def __call__(self):
|
| 13 |
image = torch.randn(
|
| 14 |
-
(1, self.unet.in_channels, self.unet.sample_size, self.unet.sample_size),
|
| 15 |
)
|
| 16 |
timestep = 1
|
| 17 |
|
|
|
|
| 11 |
|
| 12 |
def __call__(self):
|
| 13 |
image = torch.randn(
|
| 14 |
+
(1, self.unet.config.in_channels, self.unet.config.sample_size, self.unet.config.sample_size),
|
| 15 |
)
|
| 16 |
timestep = 1
|
| 17 |
|