smoothieAI commited on
Commit
2ee19b5
·
verified ·
1 Parent(s): 947a55b

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +2 -2
pipeline.py CHANGED
@@ -1429,8 +1429,8 @@ class AnimateDiffPipeline(DiffusionPipeline, TextualInversionLoaderMixin, IPAdap
1429
  print("current_prompt_index", current_prompt_index)
1430
  print("current prompt embed shape", prompt_embeds[current_prompt_index].shape)
1431
  # print min and max values of the current prompt embed
1432
- print("min", torch.min(prompt_embeds[current_prompt_index][0]))
1433
- print("max", torch.max(prompt_embeds[current_prompt_index][0]))
1434
 
1435
  if self.controlnet != None and i < int(control_end*num_inference_steps):
1436
 
 
1429
  print("current_prompt_index", current_prompt_index)
1430
  print("current prompt embed shape", prompt_embeds[current_prompt_index].shape)
1431
  # print min and max values of the current prompt embed
1432
+ print("avg", torch.mean(prompt_embeds[current_prompt_index][0]))
1433
+ print("max", torch.max(prompt_embeds[current_prompt_index][0]))
1434
 
1435
  if self.controlnet != None and i < int(control_end*num_inference_steps):
1436