MCPcopy Create free account
hub / github.com/NVIDIA/pix2pixHD / default_loader

Function default_loader

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

Source from the content-addressed store, hash-verified

32
33
34def default_loader(path):
35 return Image.open(path).convert('RGB')
36
37
38class ImageFolder(data.Dataset):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected