Giter Club home page Giter Club logo

caffe-data-augmentation's Introduction

Caffe-Data-Augmentation

The original repository for Caffe, developed by the Berkeley Vision and Learning Center (BVLC) and community contributors, is at (BVLC\caffe)

This project adds a data augmentation feature to caffe, augmenting the data in 9 several ways.

The ways in which the data is augmentated is explained here:

  1. Image Translation - a random shift in a x and y axis pixels of the entire image. The shift has uniform probability between -7 and 7.
  2. Image Rescailing - shrinking or enalrgin the image (before cropping) by a random unifrom factor between 0.8 and 1.2.
  3. Horizontal Flipping - flipping the image in the horizontal axis.
  4. Vertical Flipping - flipping the image in the vertical axis.
  5. Elastic Deformation with Random Interpolation - dislocate pixels and use OpenCV interpolations method randomly.
  6. Color Noising - adding a small independent noise to each color channel of the image.
  7. Brightness Noising - adding a small noise to the brightness of each pixel.
  8. Small Blurring - convolving the image with small random-sized blurring kernel.
  9. Single Random Transformation - choosing a transformation at random.
  10. Multiple Random Transformations - chooses each transofrmation with probability 1/7, such that the mean is one transformation for every image.
The desired transformation(s) is chosen by parameter transform_type within the prototxt file for the data layer. The value of the parameter corresponds to the transform schemes described above. For example, transform_type=4 uses vertical flipping as it's transformation.

This project was developed by Shani Rehana, Baruch Epstein and Shahar Katz.

The latest version for this project is rc2.

caffe-data-augmentation's People

Contributors

shelhamer avatar jeffdonahue avatar yangqing avatar longjon avatar sguada avatar kloudkl avatar sergeyk avatar qipeng avatar rbgirshick avatar ronghanghu avatar dgolden1 avatar mavenlin avatar flx42 avatar jamt9000 avatar philkr avatar yosinski avatar tnarihi avatar lukeyeager avatar mtamburrano avatar netheril96 avatar mohomran avatar ste-m5s avatar erictzeng avatar pluskid avatar tdomhan avatar jyegerlehner avatar ducha-aiki avatar chyojn avatar arntanguy avatar shaharkatz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar Yvonne avatar Hui Liao avatar  avatar Xiaomeng Han avatar Bill Wang avatar yonglezhao avatar  avatar Chenxia Han avatar Yunhan Zhao avatar Yili Zhao avatar Peng Zhang avatar  avatar  avatar TianqiTang avatar Ethan He avatar ZhangQian avatar  avatar ryenchen avatar james_jjyang avatar  avatar Iftekhar Anam avatar Fei avatar  avatar  avatar Eugene Zatepyakin avatar ih4cku avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

caffe-data-augmentation's Issues

Augmentation Implementation

May I know where did you implement data augmentation in the source code ? I am new to Caffe and curios to understand how did you implement augmentation.

On a different note, have you published something with this modified source code ? If yes, can you please share how should one cite if they use your code for a publication ?

here are some questions...

Hi,Thks for your share this code,here are some question I want to know.
(1)The code for Windows or Linux system ?
(2)How to compile this Data-augmentation caffe code?
Can you tell me this question in detail?please.
Thank U very much.

Augmentation doesn't work

Hi @ShaharKatz,

Could you please provide more details about your augmentation? I cannot enable this function. In addition, I check your codes but didn't found "transform_type".

Thanks
Kevin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.