MCPcopy Create free account
hub / github.com/cvlab-epfl/MeshSDF / __init__

Method __init__

lib/data.py:20–28  ·  view source on GitHub ↗
(
        self,
        data_source,
        split,
        subsample
    )

Source from the content-addressed store, hash-verified

18
19class SDFSamples(torch.utils.data.Dataset):
20 def __init__(
21 self,
22 data_source,
23 split,
24 subsample
25 ):
26 self.subsample = subsample
27 self.data_source = data_source
28 self.npyfiles = get_instance_filenames(data_source, split)
29
30
31 def __len__(self):

Callers

nothing calls this directly

Calls 1

get_instance_filenamesFunction · 0.85

Tested by

no test coverage detected