MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / set_raw_scale

Method set_raw_scale

python/caffe/io.py:221–234  ·  view source on GitHub ↗

Set the scale of raw features s.t. the input blob = input * scale. While Python represents images in [0, 1], certain Caffe models like CaffeNet and AlexNet represent images in [0, 255] so the raw_scale of these models must be 255. Parameters --------

(self, in_, scale)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

prepare_networkFunction · 0.95
prepare_networkFunction · 0.95
__init__Method · 0.80
__init__Method · 0.80

Calls 1

__check_inputMethod · 0.95

Tested by

no test coverage detected