(self)
| 28 | |
| 29 | class CocoCapDataset(Dataset): |
| 30 | def __init__(self) -> None: |
| 31 | super().__init__() |
| 32 | self.datas = json.load(open('datasets/Eval/image/coco_cap/coco_karpathy_val.json')) |
| 33 | |
| 34 | def __len__(self): |
| 35 | return len(self.datas) |
nothing calls this directly
no outgoing calls
no test coverage detected