From ba3791548b2505ac185de2ab6b075d54b6bdbc69 Mon Sep 17 00:00:00 2001 From: Peter Lin Date: Thu, 30 Sep 2021 00:44:11 -0700 Subject: [PATCH] Update inference.py --- inference.py | 1 - 1 file changed, 1 deletion(-) diff --git a/inference.py b/inference.py index f6b4d87..a116754 100644 --- a/inference.py +++ b/inference.py @@ -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: