batch resizing fix
This commit is contained in:
@@ -452,7 +452,7 @@ class DynamiCrafterBatchInterpolation:
|
||||
|
||||
if out_video.shape[1] != orig_H or out_video.shape[2] != orig_W:
|
||||
out_video = F.interpolate(out_video.permute(0, 3, 1, 2), size=(orig_H, orig_W), mode="bicubic")
|
||||
out_video = video.permute(0, 2, 3, 1)
|
||||
out_video = out_video.permute(0, 2, 3, 1)
|
||||
|
||||
# should we trim middle keyframes?
|
||||
if cut_near_keyframes > 0:
|
||||
|
||||
Reference in New Issue
Block a user