From 31f7c6984e571f380565a68e5d28f437af4df19f Mon Sep 17 00:00:00 2001 From: Guanghua Yu <742925032@qq.com> Date: Thu, 14 May 2020 17:52:03 +0800 Subject: [PATCH] fix deploy/python/infer variable (#675) --- deploy/python/infer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/python/infer.py b/deploy/python/infer.py index d042d3b18..8e3bd82b4 100644 --- a/deploy/python/infer.py +++ b/deploy/python/infer.py @@ -518,7 +518,7 @@ def predict_video(): fourcc = cv2.VideoWriter_fourcc(*'mp4v') video_name = os.path.split(FLAGS.video_file)[-1] if not os.path.exists(FLAGS.output_dir): - os.makedirs(FLAGES.output_dir) + os.makedirs(FLAGS.output_dir) out_path = os.path.join(FLAGS.output_dir, video_name) writer = cv2.VideoWriter(out_path, fourcc, fps, (width, height)) index = 1 -- GitLab