bhuvanmdev
commited on
Update pipeline.py
Browse files- pipeline.py +2 -2
pipeline.py
CHANGED
@@ -1600,8 +1600,8 @@ class LGMFullPipeline(DiffusionPipeline):
|
|
1600 |
if hasattr(self, "final_offload_hook") and self.final_offload_hook is not None:
|
1601 |
self.final_offload_hook.offload()
|
1602 |
|
1603 |
-
|
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,
|
|
|
1600 |
if hasattr(self, "final_offload_hook") and self.final_offload_hook is not None:
|
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,
|