MCPcopy Create free account
hub / github.com/NVlabs/SPADE / default_loader

Function default_loader

data/image_folder.py:67–68  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

65
66
67def default_loader(path):
68 return Image.open(path).convert('RGB')
69
70
71class ImageFolder(data.Dataset):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected