MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / __init__

Method __init__

trainer/__init__.py:16–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 class DummyDataset(Dataset):
15
16 def __init__(self) -> None:
17 super().__init__()
18 data = torch.randn(
19 1,
20 3,
21 1024,
22 1024,
23 )
24 self.data = data.expand(100000, -1, -1, -1)
25
26 def __len__(self, ):
27 return len(self.data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected