From 4e17ed740aa0bbb03f8f7c033aa78d51f19cc683 Mon Sep 17 00:00:00 2001 From: Stefan Klut Date: Tue, 23 Jan 2024 16:47:39 +0100 Subject: [PATCH] Add other XML path retrieval in regions_from_dataset.py --- utils/regions_from_dataset.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/regions_from_dataset.py b/utils/regions_from_dataset.py index 4c77350..7e2c208 100644 --- a/utils/regions_from_dataset.py +++ b/utils/regions_from_dataset.py @@ -59,6 +59,8 @@ def main(args): image_paths = get_file_paths(args.input, supported_image_formats) xml_paths = [image_path_to_xml_path(image_path) for image_path in image_paths] + # xml_paths = get_file_paths(args.input, [".xml"]) + # Single thread # regions_per_page = [] # for xml_path_i in tqdm(xml_paths):