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')