Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -1601,7 +1601,7 @@ class LGMFullPipeline(DiffusionPipeline):
|
|
1601 |
self.final_offload_hook.offload()
|
1602 |
|
1603 |
# images = np.stack([image[1], image[2], image[3], image[0]], axis=0)
|
1604 |
-
images = np.stack([x for x in image[1:]] + [image[
|
1605 |
images = torch.from_numpy(images).permute(0, 3, 1, 2).float().cuda()
|
1606 |
images = F.interpolate(
|
1607 |
images,
|
|
|
1601 |
self.final_offload_hook.offload()
|
1602 |
|
1603 |
# images = np.stack([image[1], image[2], image[3], image[0]], axis=0)
|
1604 |
+
images = np.stack([x for x in image[1:]] + [image[0]], axis=0)
|
1605 |
images = torch.from_numpy(images).permute(0, 3, 1, 2).float().cuda()
|
1606 |
images = F.interpolate(
|
1607 |
images,
|