MCPcopy Create free account
hub / github.com/10Ring/LAA-Net / __init__

Method __init__

datasets/dfd.py:12–13  ·  view source on GitHub ↗
(self, cfg, **kwargs)

Source from the content-addressed store, hash-verified

10@DATASETS.register_module()
11class DFD(CommonDataset):
12 def __init__(self, cfg, **kwargs):
13 super().__init__(cfg, **kwargs)
14
15 def _load_from_path(self, split):
16 assert os.path.exists(self._cfg.DATA[self.split.upper()].ROOT), "Root path to dataset can not be None!"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected