diff --git a/run.py b/run.py index 4245c39..7568e55 100755 --- a/run.py +++ b/run.py @@ -64,6 +64,7 @@ def start_processing(): start_time = time.time() if args['gpu']: process_video(args['source_img'], args["frame_paths"]) +<<<<<<< HEAD <<<<<<< HEAD end_time = time.time() print(flush=True) @@ -71,6 +72,10 @@ def start_processing(): print(flush=True) end_time = time.time() >>>>>>> 2b14613 (Move process time to the correct place) +======= + end_time = time.time() + print(flush=True) +>>>>>>> 0f782ff (Move process time to the correct place) print(f"Processing time: {end_time - start_time:.2f} seconds", flush=True) return frame_paths = args["frame_paths"] @@ -83,6 +88,7 @@ def start_processing(): p.get() pool.close() pool.join() +<<<<<<< HEAD <<<<<<< HEAD end_time = time.time() print(flush=True) @@ -119,7 +125,10 @@ def preview_video(video_path): cap.release() ======= print(flush=True) +======= +>>>>>>> 0f782ff (Move process time to the correct place) end_time = time.time() + print(flush=True) print(f"Processing time: {end_time - start_time:.2f} seconds", flush=True) >>>>>>> 2b14613 (Move process time to the correct place)