From b093d015e1e15023c510fd02eb263853c5c7acf3 Mon Sep 17 00:00:00 2001 From: Nathan Molinier Date: Mon, 11 Mar 2024 14:12:27 -0400 Subject: [PATCH] update function name --- scripts/init_data_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init_data_config.py b/scripts/init_data_config.py index 66eac79..1ce8915 100644 --- a/scripts/init_data_config.py +++ b/scripts/init_data_config.py @@ -25,7 +25,7 @@ def init_data_config(args): file_paths = [os.path.abspath(path.replace('\n', '')) for path in open(args.txt)] if args.type == 'LABEL': label_paths = file_paths - img_paths = [get_img_path_from_label_path(lp) for lp in label_paths] + img_paths = [get_img_path_from_mask_path(lp) for lp in label_paths] file_paths = label_paths + img_paths elif args.type == 'IMAGE': img_paths = file_paths