Update pipeline.py
Browse files- 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("
|
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 |
|