MCPcopy Create free account
hub / github.com/CompVis/diff2flow / setup

Method setup

diff2flow/dataloader.py:258–261  ·  view source on GitHub ↗
(self, stage=None)

Source from the content-addressed store, hash-verified

256 instantiate_from_config(data_cfg)
257
258 def setup(self, stage=None):
259 self.datasets = dict(
260 (k, instantiate_from_config(self.dataset_configs[k]))
261 for k in self.dataset_configs)
262
263
264class DummyDataset(Dataset):

Callers

nothing calls this directly

Calls 1

instantiate_from_configFunction · 0.90

Tested by

no test coverage detected