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

Method __init__

caffe/python/caffe/classifier.py:16–43  ·  view source on GitHub ↗

Take image_dims: dimensions to scale input for cropping/sampling. Default is to scale to net input size for whole-image crop. gpu, mean_file, input_scale, channel_swap: convenience params for setting mode, mean, input scale, and channel order.

(self, model_file, pretrained_file, image_dims=None,
                 gpu=False, mean_file=None, input_scale=None, channel_swap=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

set_phase_testMethod · 0.80
set_mode_gpuMethod · 0.80
set_mode_cpuMethod · 0.80

Tested by

no test coverage detected