MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / __init__

Method __init__

eval/fid_score.py:44–46  ·  view source on GitHub ↗
(self, files, transforms=None)

Source from the content-addressed store, hash-verified

42
43class ImagePathDataset(torch.utils.data.Dataset):
44 def __init__(self, files, transforms=None):
45 self.files = files
46 self.transforms = transforms
47
48 def __len__(self):
49 return len(self.files)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected