MCPcopy Create free account
hub / github.com/MegaScenes/nvs / make_transform_multi_folder_data

Function make_transform_multi_folder_data

ldm/data/backup_simple.py:29–31  ·  view source on GitHub ↗
(paths, caption_files=None, **kwargs)

Source from the content-addressed store, hash-verified

27
28# Some hacky things to make experimentation easier
29def make_transform_multi_folder_data(paths, caption_files=None, **kwargs):
30 ds = make_multi_folder_data(paths, caption_files, **kwargs)
31 return TransformDataset(ds)
32
33def make_nfp_data(base_path):
34 dirs = list(Path(base_path).glob("*/"))

Callers

nothing calls this directly

Calls 2

make_multi_folder_dataFunction · 0.85
TransformDatasetClass · 0.85

Tested by

no test coverage detected