Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
7f1aea2
1
Parent(s):
77f4f75
utils.py
CHANGED
|
@@ -61,7 +61,7 @@ def sample_frame(model: LatentDiffusion, prompt: str, image_sequence: torch.Tens
|
|
| 61 |
DEBUG = True
|
| 62 |
if DEBUG:
|
| 63 |
c['c_concat'] = c['c_concat']*0
|
| 64 |
-
print ('utils prompt', prompt)
|
| 65 |
|
| 66 |
if DDPM:
|
| 67 |
samples_ddim = model.p_sample_loop(cond=c, shape=[1, 4, 48, 64], return_intermediates=False, verbose=True)
|
|
|
|
| 61 |
DEBUG = True
|
| 62 |
if DEBUG:
|
| 63 |
c['c_concat'] = c['c_concat']*0
|
| 64 |
+
print ('utils prompt', prompt, c['c_concat'].shape, c.keys())
|
| 65 |
|
| 66 |
if DDPM:
|
| 67 |
samples_ddim = model.p_sample_loop(cond=c, shape=[1, 4, 48, 64], return_intermediates=False, verbose=True)
|