Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Evan Shelhamer f8b612d8cd default raw_scale in python scripts to ImageNet model value 2014-08-09 20:43:40 -07:00
Evan Shelhamer e1b3413708 take array in pycaffe `Net.set_mean()` instead of file path 2014-08-05 23:17:59 -07:00
Evan Shelhamer d5c3cef471 fix pycaffe input processing
- load an image as [0,1] single / np.float32 according to Python convention
- fix input scaling during preprocessing:
  - scale input for preprocessing by `raw_scale` e.g. to map an image
    to [0, 255] for the CaffeNet and AlexNet ImageNet models
  - scale feature space by `input_scale` after mean subtraction
  - switch examples to raw scale for ImageNet models
  - fix #525
- preserve type after resizing.
- resize 1, 3, or K channel images with special casing between
  skimage.transform (1 and 3) and scipy.ndimage (K) for speed
2014-08-05 23:17:59 -07:00
Evan Shelhamer 2fc32d558a image classification in python 2014-05-19 23:56:48 -07:00