EU-IA commited on
Commit
85ed61a
·
verified ·
1 Parent(s): ffc86f8

Update deformes4D_engine.py

Browse files
Files changed (1) hide show
  1. 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