YANGYYYY commited on
Commit
e7d45cf
1 Parent(s): ca106e1

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -267,7 +267,7 @@ class Predictor:
267
  frames[frame_idx] = frame
268
  frame_idx += 1
269
  if frame_idx == batch_size:
270
- transformed_frames = self.transform_and_save(frames, frame_idx)
271
  transformed_video_frames.extend(transformed_frames)
272
  frame_idx = 0
273
  except Exception as e:
 
267
  frames[frame_idx] = frame
268
  frame_idx += 1
269
  if frame_idx == batch_size:
270
+ transformed_frames = transform_and_save(frames, frame_idx)
271
  transformed_video_frames.extend(transformed_frames)
272
  frame_idx = 0
273
  except Exception as e: