(self, opt)
| 25 | return parser |
| 26 | |
| 27 | def get_paths(self, opt): |
| 28 | root = opt.dataroot |
| 29 | phase = 'val' if opt.phase == 'test' else opt.phase |
| 30 | |
| 31 | label_dir = os.path.join(root, '%s_label' % phase) |
| 32 | label_paths = make_dataset(label_dir, recursive=False, read_cache=True) |
| 33 | |
| 34 | image_dir = os.path.join(root, '%s_img' % phase) |
| 35 | image_paths = make_dataset(image_dir, recursive=False, read_cache=True) |
| 36 | |
| 37 | instance_paths = [] |
| 38 | |
| 39 | return label_paths, image_paths, instance_paths |
nothing calls this directly
no test coverage detected