yuntian-deng commited on
Commit
bc03c32
·
1 Parent(s): f0231ae

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -39,7 +39,7 @@ def sample_frame(model: LatentDiffusion, prompt: str, image_sequence: torch.Tens
39
  c = model.get_learned_conditioning(c_dict)
40
  c = model.enc_concat_seq(c, c_dict, 'c_concat')
41
 
42
- samples_ddim, _ = sampler.sample(S=200,
43
  conditioning=c,
44
  batch_size=1,
45
  shape=[3, 64, 64],
 
39
  c = model.get_learned_conditioning(c_dict)
40
  c = model.enc_concat_seq(c, c_dict, 'c_concat')
41
 
42
+ samples_ddim, _ = sampler.sample(S=4,
43
  conditioning=c,
44
  batch_size=1,
45
  shape=[3, 64, 64],