mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Fix missing variable assign in DeepFloyd-IF-II (#3315)
Fix missing variable assign lol
This commit is contained in:
@@ -667,7 +667,7 @@ class IFSuperResolutionPipeline(DiffusionPipeline):
|
||||
image = [np.array(i).astype(np.float32) / 255.0 for i in image]
|
||||
|
||||
image = np.stack(image, axis=0) # to np
|
||||
torch.from_numpy(image.transpose(0, 3, 1, 2))
|
||||
image = torch.from_numpy(image.transpose(0, 3, 1, 2))
|
||||
elif isinstance(image[0], np.ndarray):
|
||||
image = np.stack(image, axis=0) # to np
|
||||
if image.ndim == 5:
|
||||
|
||||
Reference in New Issue
Block a user