mirror of
https://github.com/hzwer/Practical-RIFE.git
synced 2026-12-01 13:15:39 -05:00
Fix bug
This commit is contained in:
+1
-2
@@ -225,8 +225,7 @@ while True:
|
||||
ssim = ssim_matlab(I0_small[:, :3], I1_small[:, :3])
|
||||
|
||||
break_flag = False
|
||||
if ssim > 0.999:
|
||||
continue
|
||||
if ssim > 0.996:
|
||||
frame = read_buffer.get() # read a new frame
|
||||
if frame is None:
|
||||
break_flag = True
|
||||
|
||||
Reference in New Issue
Block a user