MCPcopy Create free account
hub / github.com/TheLegendAli/DeepLab-Context / __init__

Method __init__

python/caffe/classifier.py:16–46  ·  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, input_scale, raw_scale, channel_swap: params for preprocessing options.

(self, model_file, pretrained_file, image_dims=None,
                 gpu=False, mean=None, input_scale=None, raw_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