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

Function oversample

caffe/python/caffe/io.py:46–86  ·  view source on GitHub ↗

Crop images into the four corners, center, and their mirrored versions. Take image: iterable of (H x W x K) ndarrays crop_dims: (height, width) tuple for the crops. Give crops: (10*N x H x W x K) ndarray of crops for number of inputs N.

(images, crop_dims)

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