Load annotations from ``ann_file`` to ``data_infos``
(self)
| 61 | pass |
| 62 | |
| 63 | def load_annotations(self): |
| 64 | """Load annotations from ``ann_file`` to ``data_infos``""" |
| 65 | self.data_infos = [] |
| 66 | for line in open(self.ann_file, 'r').readlines(): |
| 67 | line = line.strip() |
| 68 | self.data_infos.append(self.load_anno(line)) |
| 69 | |
| 70 | def prepare_data(self, idx: int): |
| 71 | """"Prepare raw data for the f'{idx'}-th data.""" |