From 7d42dbc4bc0f49e8cc9a3700cec6383fb0b6ad43 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Wed, 31 May 2023 21:30:49 +0200 Subject: [PATCH] Remove processing time as of progress bar --- run.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/run.py b/run.py index 85592ea..f4e79e0 100755 --- a/run.py +++ b/run.py @@ -89,12 +89,8 @@ def pre_check(): def start_processing(): - start_time = time.time() if args['gpu']: process_video(args['source_img'], args["frame_paths"]) - end_time = time.time() - print(flush=True) - print(f"Processing time: {end_time - start_time:.2f} seconds", flush=True) return frame_paths = args["frame_paths"] n = len(frame_paths)//(args['cores_count']) @@ -106,9 +102,6 @@ def start_processing(): p.get() pool.close() pool.join() - end_time = time.time() - print(flush=True) - print(f"Processing time: {end_time - start_time:.2f} seconds", flush=True) def preview_image(image_path):