manbeast3b
commited on
Commit
•
3552027
1
Parent(s):
7345a56
Update src/utils.py
Browse files- src/utils.py +0 -1
src/utils.py
CHANGED
@@ -175,7 +175,6 @@ def warpped_feature(sample, step):
|
|
175 |
step: timestep span
|
176 |
"""
|
177 |
bs, dim, h, w = sample.shape
|
178 |
-
print(sample.shape)
|
179 |
uncond_fea, cond_fea = sample.chunk(2)
|
180 |
uncond_fea = uncond_fea.repeat(step,1,1,1) # (step * bs//2) * dim * h *w
|
181 |
cond_fea = cond_fea.repeat(step,1,1,1) # (step * bs//2) * dim * h *w
|
|
|
175 |
step: timestep span
|
176 |
"""
|
177 |
bs, dim, h, w = sample.shape
|
|
|
178 |
uncond_fea, cond_fea = sample.chunk(2)
|
179 |
uncond_fea = uncond_fea.repeat(step,1,1,1) # (step * bs//2) * dim * h *w
|
180 |
cond_fea = cond_fea.repeat(step,1,1,1) # (step * bs//2) * dim * h *w
|