Skip to content

Commit

Permalink
Update inference.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterL1n authored Sep 30, 2021
1 parent aff79bf commit ba37915
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def convert_video(model,
assert output_type in ['video', 'png_sequence'], 'Only support "video" and "png_sequence" output modes.'
assert seq_chunk >= 1, 'Sequence chunk must be >= 1'
assert num_workers >= 0, 'Number of workers must be >= 0'
assert output_video_mbps == None or output_type == 'video', 'Mbps is not available for png_sequence output.'

# Initialize transform
if input_resize is not None:
Expand Down

0 comments on commit ba37915

Please sign in to comment.