From 69ffdc0aa783f9127af612a7de57c6329703c1dc Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Thu, 7 Nov 2024 20:19:13 +0000 Subject: [PATCH] Update accuracy_coco.py --- text_to_image/tools/accuracy_coco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text_to_image/tools/accuracy_coco.py b/text_to_image/tools/accuracy_coco.py index bc3f87d04..0d0c01560 100644 --- a/text_to_image/tools/accuracy_coco.py +++ b/text_to_image/tools/accuracy_coco.py @@ -105,7 +105,7 @@ def main(): sample_ids_file_path = args.ids_path if args.ids_path else os.path.join( os.path.dirname(__file__), "sample_ids.txt") with open( - os.path.join(sample_ids_file_path, "r" + os.path.join(sample_ids_file_path, "r") ) as compliance_id_file: for line in compliance_id_file: idx=int(line.strip())