MCPcopy Create free account
hub / github.com/Yijunmaverick/GenerativeFaceCompletion / load_image

Function load_image

python/caffe/io.py:278–302  ·  view source on GitHub ↗

Load an image converting from grayscale or alpha as needed. Parameters ---------- filename : string color : boolean flag for color format. True (default) loads as RGB while False loads as intensity (if image is already grayscale). Returns ------- im

(filename, color=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected