Update pipeline.py
Browse files- pipeline.py +0 -2
pipeline.py
CHANGED
@@ -1426,8 +1426,6 @@ class AnimateDiffPipeline(DiffusionPipeline, TextualInversionLoaderMixin, IPAdap
|
|
1426 |
context_position = current_context_indexes[0] % context_size
|
1427 |
current_prompt_index = int(context_position / (context_size / num_prompts))
|
1428 |
|
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]))
|
|
|
1426 |
context_position = current_context_indexes[0] % context_size
|
1427 |
current_prompt_index = int(context_position / (context_size / num_prompts))
|
1428 |
|
|
|
|
|
1429 |
# print min and max values of the current prompt embed
|
1430 |
print("avg", torch.mean(prompt_embeds[current_prompt_index][0]))
|
1431 |
print("max", torch.max(prompt_embeds[current_prompt_index][0]))
|