yuntian-deng commited on
Commit
4de630a
·
1 Parent(s): 70e8745

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -46,11 +46,11 @@ def sample_frame(model: LatentDiffusion, prompt: str, image_sequence: torch.Tens
46
  print ('sleeping')
47
  #time.sleep(120)
48
  print ('finished sleeping')
49
- #samples_ddim = model.p_sample_loop(cond=c, shape=[1, 3, 256, 256], return_intermediates=False, verbose=True)
50
  samples_ddim, _ = sampler.sample(S=4,
51
  conditioning=c,
52
  batch_size=1,
53
- shape=[3, 256, 256],
54
  verbose=False)
55
  # unconditional_guidance_scale=5.0,
56
  # unconditional_conditioning=uc,
 
46
  print ('sleeping')
47
  #time.sleep(120)
48
  print ('finished sleeping')
49
+ #samples_ddim = model.p_sample_loop(cond=c, shape=[1, 3, 64, 64], return_intermediates=False, verbose=True)
50
  samples_ddim, _ = sampler.sample(S=4,
51
  conditioning=c,
52
  batch_size=1,
53
+ shape=[3, 64, 64],
54
  verbose=False)
55
  # unconditional_guidance_scale=5.0,
56
  # unconditional_conditioning=uc,