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

data augmentation tool/feature #701

Closed
mahdi-shafiei opened this issue Jul 15, 2014 · 10 comments
Closed

data augmentation tool/feature #701

mahdi-shafiei opened this issue Jul 15, 2014 · 10 comments

Comments

@mahdi-shafiei
Copy link

I was wondering what tools or features are available in caffe for typical data augmentation steps for image datasets?

@nicodjimenez
Copy link

I have the same problem. I don't want to re-create a dataset with ~20 million images every time I change my augmentation strategy, so I implemented on the fly augmentation. I implemented an augmentation step which randomly perturbs images by modifying data_layer.cpp. Every time datum.ParseFromString appears in this file, I add my own function Perturb(&datum), which modifies the datum by distorting the image and resizing it (I removed the requirement that all images in the leveldb have the same size because I don't want to distort downsampled images).

I think support for on the fly processing from the leveldb is sufficiently important to merit inclusion in caffe. Does anyone have any thoughts/suggestions on a clean way to implement this?

@bhack
Copy link
Contributor

bhack commented Aug 12, 2014

I think that augmentation can share many things with "synthetic" dataset generation

@bhack
Copy link
Contributor

bhack commented Aug 12, 2014

See also http://hal.inria.fr/hal-00979464/

@kloudkl
Copy link
Contributor

kloudkl commented Aug 19, 2014

Sander Dieleman implemented realtime augmentation as described in "My solution for the Galaxy Zoo challenge".

@bhack
Copy link
Contributor

bhack commented Aug 19, 2014

Another interesting experiment on augmentation: http://infoscience.epfl.ch/record/199706

@zimenglan-sysu
Copy link

try multi-scale?see this paper:http://arxiv.org/abs/1406.2984

@futurely
Copy link

@shelhamer, four existing implementations haven't been taken care of for a long time: #1386, #1865, #1900, #2252.

@longjon
Copy link
Contributor

longjon commented May 9, 2015

Please ask usage questions on the caffe-users list, and document related tools and techniques on the wiki. Thanks!

@longjon longjon closed this as completed May 9, 2015
@bhack
Copy link
Contributor

bhack commented Oct 28, 2015

@senecaur Are you interested to contribute something back with a PR from your fork?

@futurely
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants