Yuanshi commited on
Commit
89e0320
·
verified ·
1 Parent(s): fb17308

Update src/condition.py

Browse files
Files changed (1) hide show
  1. src/condition.py +2 -2
src/condition.py CHANGED
@@ -96,8 +96,8 @@ class Condition(object):
96
  cond_tokens = pipe._pack_latents(cond_img, *cond_img.shape)
97
  cond_ids = pipe._prepare_latent_image_ids(
98
  cond_img.shape[0],
99
- cond_img.shape[2],
100
- cond_img.shape[3],
101
  pipe.device,
102
  pipe.dtype,
103
  )
 
96
  cond_tokens = pipe._pack_latents(cond_img, *cond_img.shape)
97
  cond_ids = pipe._prepare_latent_image_ids(
98
  cond_img.shape[0],
99
+ cond_img.shape[2]//2,
100
+ cond_img.shape[3]//2,
101
  pipe.device,
102
  pipe.dtype,
103
  )