forked from afspiegeling/Practical-RIFE
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