From af0848f91cf86dca2582637f4dc2548f43146aff Mon Sep 17 00:00:00 2001 From: JianHe0628 <jl02958@surrey.ac.uk> Date: Wed, 4 Dec 2024 12:58:16 +0000 Subject: [PATCH] fix fps --- Extract_HaMeR_Single.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Extract_HaMeR_Single.py b/Extract_HaMeR_Single.py index 1481e4a..5cc9e7c 100644 --- a/Extract_HaMeR_Single.py +++ b/Extract_HaMeR_Single.py @@ -96,6 +96,7 @@ def main(args, model, renderer, device): print(f"Total Time for Video to Image: {(time.time()-start_time)} Seconds") else: image_folder = Path(args.img_folder) + fps = None # Get all demo images ends with .jpg or .png img_paths = [img for end in args.file_type for img in image_folder.glob(end)] -- GitLab