MCPcopy Create free account
hub / github.com/csuhan/OneLLM / __init__

Method __init__

eval/image_cap_cococap.py:30–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28
29class 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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected