Logs
Browse files- app_endframe.py +2 -2
app_endframe.py
CHANGED
|
@@ -546,9 +546,11 @@ def worker(input_video, end_frame, end_frame_weight, prompt, n_prompt, seed, bat
|
|
| 546 |
|
| 547 |
# 20250511 pftq: Pad clean_latents_pre to match clean_latent_pre_frames if needed
|
| 548 |
if clean_latents_pre.shape[2] < clean_latent_pre_frames:
|
|
|
|
| 549 |
clean_latents_pre = clean_latents_pre.repeat(1, 1, clean_latent_pre_frames // clean_latents_pre.shape[2], 1, 1)
|
| 550 |
# 20250511 pftq: Pad clean_latents_post to match post_frames if needed
|
| 551 |
if clean_latents_post.shape[2] < post_frames:
|
|
|
|
| 552 |
clean_latents_post = clean_latents_post.repeat(1, 1, post_frames // clean_latents_post.shape[2], 1, 1)
|
| 553 |
|
| 554 |
clean_latents = torch.cat([clean_latents_pre, clean_latents_post], dim=2)
|
|
@@ -597,10 +599,8 @@ def worker(input_video, end_frame, end_frame_weight, prompt, n_prompt, seed, bat
|
|
| 597 |
|
| 598 |
real_history_latents = history_latents[:, :, :total_generated_latent_frames, :, :]
|
| 599 |
if history_pixels is None:
|
| 600 |
-
print("£££££££££££££££££££££££££££££££")
|
| 601 |
history_pixels = vae_decode(real_history_latents, vae).cpu()
|
| 602 |
else:
|
| 603 |
-
print("€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€")
|
| 604 |
section_latent_frames = (latent_window_size * 2 + 1) if is_start_of_video else (latent_window_size * 2)
|
| 605 |
overlapped_frames = latent_window_size * 4 - 3
|
| 606 |
current_pixels = vae_decode(real_history_latents[:, :, :section_latent_frames], vae).cpu()
|
|
|
|
| 546 |
|
| 547 |
# 20250511 pftq: Pad clean_latents_pre to match clean_latent_pre_frames if needed
|
| 548 |
if clean_latents_pre.shape[2] < clean_latent_pre_frames:
|
| 549 |
+
print("££££££££££££££££££££££££££££££")
|
| 550 |
clean_latents_pre = clean_latents_pre.repeat(1, 1, clean_latent_pre_frames // clean_latents_pre.shape[2], 1, 1)
|
| 551 |
# 20250511 pftq: Pad clean_latents_post to match post_frames if needed
|
| 552 |
if clean_latents_post.shape[2] < post_frames:
|
| 553 |
+
print("€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€")
|
| 554 |
clean_latents_post = clean_latents_post.repeat(1, 1, post_frames // clean_latents_post.shape[2], 1, 1)
|
| 555 |
|
| 556 |
clean_latents = torch.cat([clean_latents_pre, clean_latents_post], dim=2)
|
|
|
|
| 599 |
|
| 600 |
real_history_latents = history_latents[:, :, :total_generated_latent_frames, :, :]
|
| 601 |
if history_pixels is None:
|
|
|
|
| 602 |
history_pixels = vae_decode(real_history_latents, vae).cpu()
|
| 603 |
else:
|
|
|
|
| 604 |
section_latent_frames = (latent_window_size * 2 + 1) if is_start_of_video else (latent_window_size * 2)
|
| 605 |
overlapped_frames = latent_window_size * 4 - 3
|
| 606 |
current_pixels = vae_decode(real_history_latents[:, :, :section_latent_frames], vae).cpu()
|