remove realized frame

This commit is contained in:
discountchubbs
2026-09-05 09:53:04 -07:00
parent 63c99de298
commit da18292c3d
@@ -157,9 +157,7 @@ def make_warp(nv12: NV12Frame, model_w: int, model_h: int):
def warp(tfm, big_tfm, frame, big_frame):
tfm = tfm.to(Device.DEFAULT)
big_tfm = big_tfm.to(Device.DEFAULT)
frame = frame.to(Device.DEFAULT)
big_frame = big_frame.to(Device.DEFAULT)
Tensor.realize(tfm, big_tfm, frame, big_frame)
Tensor.realize(tfm, big_tfm)
warped_frame = frame_prepare(frame, tfm).unsqueeze(0)
warped_big_frame = frame_prepare(big_frame, big_tfm).unsqueeze(0)