MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / get_image_paths

Function get_image_paths

ldm/modules/image_degradation/utils_image.py:67–71  ·  view source on GitHub ↗
(dataroot)

Source from the content-addressed store, hash-verified

65
66
67def get_image_paths(dataroot):
68 paths = None # return None if dataroot is None
69 if dataroot is not None:
70 paths = sorted(_get_paths_from_images(dataroot))
71 return paths
72
73
74def _get_paths_from_images(path):

Callers 1

split_imagesetFunction · 0.85

Calls 1

_get_paths_from_imagesFunction · 0.85

Tested by

no test coverage detected