1inkusFace commited on
Commit
ba852e7
·
verified ·
1 Parent(s): ea752ac

Update pipeline_stable_diffusion_3_ipa.py

Browse files
Files changed (1) hide show
  1. pipeline_stable_diffusion_3_ipa.py +1 -1
pipeline_stable_diffusion_3_ipa.py CHANGED
@@ -1201,7 +1201,7 @@ class StableDiffusion3Pipeline(DiffusionPipeline, SD3LoraLoaderMixin, FromSingle
1201
  print('catted embeds list with mean: ',clip_image_embeds_cat_list.shape)
1202
  #seq_len, _ = clip_image_embeds_cat_list.shape
1203
  #clip_image_embeds_cat_list_repeat = clip_image_embeds_cat_list.repeat(1, 1, 1)
1204
- clip_image_embeds_view = clip_image_embeds_cat_list.unsqueeze(0) # Added unsqueeze here instead
1205
  #print('catted embeds repeat: ',clip_image_embeds_view.shape)
1206
  #clip_image_embeds_view = clip_image_embeds_view.view(1, seq_len, -1)
1207
  print('catted viewed: ',clip_image_embeds_view.shape)
 
1201
  print('catted embeds list with mean: ',clip_image_embeds_cat_list.shape)
1202
  #seq_len, _ = clip_image_embeds_cat_list.shape
1203
  #clip_image_embeds_cat_list_repeat = clip_image_embeds_cat_list.repeat(1, 1, 1)
1204
+ clip_image_embeds_view = clip_image_embeds_cat_list #.unsqueeze(0) # Added unsqueeze here instead
1205
  #print('catted embeds repeat: ',clip_image_embeds_view.shape)
1206
  #clip_image_embeds_view = clip_image_embeds_view.view(1, seq_len, -1)
1207
  print('catted viewed: ',clip_image_embeds_view.shape)