(list)
| 84 | |
| 85 | |
| 86 | def load_image_path(list): |
| 87 | new_list = [] |
| 88 | for image_path in list: |
| 89 | if (image_path.endswith(".png") or image_path.endswith(".jpg")): |
| 90 | new_list.append(image_path) |
| 91 | return new_list |
| 92 | |
| 93 | |
| 94 | def check_dataset_exist(dirpath): |
no test coverage detected