Skip to content

Commit 046e5ab

Browse files
committed
fix video dito sampling
1 parent a8e167c commit 046e5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

owl_vaes/sampling/video_dito.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def causal_v_sample(
169169
# Once denoised, add new frame to generated frames
170170
# And update context to be partially noised
171171
generated_frames.append(context[:,-chunk_size:].clone())
172-
context[:,-chunk_size:] = zlerp(context[:,-chunk_size:], prev_signal)
172+
context[:,-chunk_size:] = zlerp(context[:,-chunk_size:], prev_noise, reverse = False)
173173
ts[:,-chunk_size:] = ts[:,-chunk_size:] * prev_noise
174174

175175
generated_frames = torch.cat(generated_frames, dim = 1).clamp(-1,1)

0 commit comments

Comments
 (0)