(self, annot_path_cache)
| 62 | ) |
| 63 | |
| 64 | def load_cache(self, annot_path_cache): |
| 65 | datalist = Cache(annot_path_cache) |
| 66 | # assert datalist.data_strategy == getattr(cfg, 'data_strategy', None), \ |
| 67 | # f'Cache data strategy {datalist.data_strategy} does not match current data strategy ' \ |
| 68 | # f'{getattr(cfg, "data_strategy", None)}' |
| 69 | return datalist |
| 70 | |
| 71 | def load_dpo_pt(self): |
| 72 | """Load all image paths and labels from json annotation files into buffer.""" |
no test coverage detected