MCPcopy Create free account
hub / github.com/DPS2022/diffusion-posterior-sampling / default_loader

Function default_loader

util/tools.py:34–35  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

32
33
34def default_loader(path):
35 return pil_loader(path)
36
37
38def tensor_img_to_npimg(tensor_img):

Callers

nothing calls this directly

Calls 1

pil_loaderFunction · 0.85

Tested by

no test coverage detected