Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/vid2vid
/ default_loader
Function
default_loader
data/image_folder.py:55–56 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
53
assert(len(a) == len(b))
54
55
def
default_loader(path):
56
return
Image.open(path).convert(
'RGB'
)
57
58
59
class
ImageFolder(data.Dataset):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected