Spaces:
Running
on
Zero
Running
on
Zero
Update src/flux/sampling.py
Browse files- src/flux/sampling.py +0 -2
src/flux/sampling.py
CHANGED
@@ -168,8 +168,6 @@ def denoise(
|
|
168 |
for t_curr, t_prev in zip(timesteps[:-1], timesteps[1:]):
|
169 |
t_vec = torch.full((img.shape[0],), t_curr, dtype=img.dtype, device=img.device)
|
170 |
if source_image is not None: # spatial condition or refnet
|
171 |
-
print("source_image shape", source_image.shape)
|
172 |
-
print("img shape", img.shape)
|
173 |
img = torch.cat([source_image, img],dim=-2)
|
174 |
pred = model(
|
175 |
img=img,
|
|
|
168 |
for t_curr, t_prev in zip(timesteps[:-1], timesteps[1:]):
|
169 |
t_vec = torch.full((img.shape[0],), t_curr, dtype=img.dtype, device=img.device)
|
170 |
if source_image is not None: # spatial condition or refnet
|
|
|
|
|
171 |
img = torch.cat([source_image, img],dim=-2)
|
172 |
pred = model(
|
173 |
img=img,
|