// your_imgs_file_list, your_objs_info_list, your_mask_list, your_targets = \
// get_pose_data_list(config.DATA.your_images_path, config.DATA.your_annos_path)
//// 2. if you have a folder with many folders: (which is common in industry)
folder_list = tl.files.load_folder_list(path="your_data")
your_imgs_file_list, your_objs_info_list, your_mask_list = [], [], []
for folder in folder_list:
_imgs_file_list, _objs_info_list, _mask_list, _targets = \
get_pose_data_list(os.path.join(folder, "images"), os.path.join(folder, "coco.json"))
print(len(_imgs_file_list))
your_imgs_file_list.extend(_imgs_file_list)
your_objs_info_list.extend(your_objs_info_list)
your_mask_list.extend(your_mask_list)
print("number of customized images found:", len(your_imgs_file_list))