Update deformes4D_engine.py
Browse files- deformes4D_engine.py +1 -1
deformes4D_engine.py
CHANGED
|
@@ -254,7 +254,7 @@ class Deformes4DEngine:
|
|
| 254 |
|
| 255 |
latents_for_video = new_full_latents
|
| 256 |
|
| 257 |
-
if is_first_fragment
|
| 258 |
if n_trim_latents > 0 and latents_for_video.shape[2] > n_trim_latents:
|
| 259 |
latents_for_video = latents_for_video[:, :, :-n_trim_latents, :, :] # Nota: Cortar 24 do fim
|
| 260 |
|
|
|
|
| 254 |
|
| 255 |
latents_for_video = new_full_latents
|
| 256 |
|
| 257 |
+
if is_first_fragment:
|
| 258 |
if n_trim_latents > 0 and latents_for_video.shape[2] > n_trim_latents:
|
| 259 |
latents_for_video = latents_for_video[:, :, :-n_trim_latents, :, :] # Nota: Cortar 24 do fim
|
| 260 |
|