Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve and polish pycaffe #816

Merged

Commits on Aug 5, 2014

  1. define caffe.Net input preprocessing members by boost::python

    define `Net.{mean, input_scale, channel_swap}` on the boost::python side
    so that the members always exist. drop ugly initialization logic.
    shelhamer committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    99f27fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c87b92 View commit details
    Browse the repository at this point in the history
  3. [example] fix example outputs

    With the right input processing, the actual image classification output
    is sensible.
    
    - filter visualization example's top prediction is "tabby cat"
    - net surgery fully-convolutional output map is better
    
    Fix incorrect class names too.
    shelhamer committed Aug 5, 2014
    Configuration menu
    Copy the full SHA
    943b98e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f1eb982 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2014

  1. 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 BVLC#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
    shelhamer committed Aug 6, 2014
    Configuration menu
    Copy the full SHA
    d5c3cef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1b3413 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f77269 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0db9478 View commit details
    Browse the repository at this point in the history