List the categories involved in the dataset.
(self)
| 136 | return len(self.data) |
| 137 | |
| 138 | def list_categories(self): |
| 139 | """List the categories involved in the dataset.""" |
| 140 | res = [] |
| 141 | for cate, id in self.metainfo['categories'].items(): |
| 142 | res.append({'category': cate, 'id': id}) |
| 143 | return res |
| 144 | |
| 145 | def list_scenes(self): |
| 146 | """List all scenes in the dataset.""" |
nothing calls this directly
no outgoing calls
no test coverage detected