Skip to content

Commit

Permalink
fix encode caching bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Sep 14, 2024
1 parent cd047eb commit 63fcb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/InterpolateTorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def process(self, img0, img1, timestep):
timestep = self.timestepDict[timestep]
if not self.rife46:
if self.f1encode is None:
self.f1encode = self.encode(img0[:, :3])
self.f1encode = self.encode(img1[:, :3])
output, self.f1encode = self.flownet(
img0, img1, timestep, self.f1encode
)
Expand Down

0 comments on commit 63fcb01

Please sign in to comment.