MCPcopy Create free account
hub / github.com/Evolving-AI-Lab/fooling / load_image

Function load_image

caffe/python/test.py:9–30  ·  view source on GitHub ↗

Load an image converting from grayscale or alpha as needed. Take filename: string color: flag for color format. True (default) loads as RGB while False loads as intensity (if image is already grayscale). Give image: an image with type np.float32 in range [0, 1]

(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