Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
def
default_loader(path):
35
return
pil_loader(path)
36
37
38
def
tensor_img_to_npimg(tensor_img):
Callers
nothing calls this directly
Calls
1
pil_loader
Function · 0.85
Tested by
no test coverage detected