From 1c22d3d3cb3ad6c2a1bca084ea1258ac1a9596e9 Mon Sep 17 00:00:00 2001 From: Zhiweiii Date: Thu, 16 Jan 2025 21:18:31 -0800 Subject: [PATCH] Update bounding box path. --- eye_ai/eye_ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eye_ai/eye_ai.py b/eye_ai/eye_ai.py index f66a39f..e8a2003 100644 --- a/eye_ai/eye_ai.py +++ b/eye_ai/eye_ai.py @@ -230,7 +230,7 @@ def create_cropped_images(self, bag_path: Path, ds_bag: DatasetBag, output_dir: cropped_path_no_glaucoma.mkdir(parents=True, exist_ok=True) cropped_path_glaucoma = cropped_path / "Suspected_Glaucoma" cropped_path_glaucoma.mkdir(parents=True, exist_ok=True) - svg_root_path = bag_path / 'data/assets/Fundus_Bounding_Box' + svg_root_path = bag_path / 'data/asset/Fundus_Bounding_Box' image_annot_df = ds_bag.get_table_as_dataframe('Annotation') image_df = ds_bag.get_table_as_dataframe('Image') diagnosis = ds_bag.get_table_as_dataframe('Image_Diagnosis')