Load cats with the specified ids. :param ids (int array) : integer ids specifying cats :return: cats (object array) : loaded cat objects
(self, ids=[])
| 209 | return [self.anns[ids]] |
| 210 | |
| 211 | def loadCats(self, ids=[]): |
| 212 | """ |
| 213 | Load cats with the specified ids. |
| 214 | :param ids (int array) : integer ids specifying cats |
| 215 | :return: cats (object array) : loaded cat objects |
| 216 | """ |
| 217 | if _isArrayLike(ids): |
| 218 | return [self.cats[id] for id in ids] |
| 219 | elif type(ids) == int: |
| 220 | return [self.cats[ids]] |
| 221 | |
| 222 | def loadImgs(self, ids=[]): |
| 223 | """ |
no test coverage detected