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

[PR Welcome] More data augmentation methods #436

Open
4 of 6 tasks
irvingzhang0512 opened this issue Dec 12, 2020 · 10 comments
Open
4 of 6 tasks

[PR Welcome] More data augmentation methods #436

irvingzhang0512 opened this issue Dec 12, 2020 · 10 comments
Assignees
Labels

Comments

@irvingzhang0512
Copy link
Contributor

irvingzhang0512 commented Dec 12, 2020

Describe the feature
More data augmentation methods.

Motivation
When training our own models, we need to TRY EVERYTHING...

Additional context

  • MMaction2 existing data augmentation methods:
    • random flip.
    • all kinds of crop and resize
    • color jitter(brightness/contrast/saturation/hue)

Plans

More image augmentation methods could refer to PaddleClas.

@innerlee
Copy link
Contributor

Thanks for the enthusiastic! Here is a practical way:

  1. Make a list of candidate augmentations. For each augmentation, find its original paper, together with a reference implementation.
  2. Make individual pull requests for each one of the list.

You may use this issue to track progress.

@dreamerlin
Copy link
Collaborator

Yeah, Thanks for your proposal. It is better to provide a list of candidate augmentations so that we can also help to implement some of these ! @irvingzhang0512

@irvingzhang0512
Copy link
Contributor Author

this paper shows that random rotation may help
image

@innerlee
Copy link
Contributor

innerlee commented Dec 17, 2020

In image classification, rotation works to some extent. But color jittering sometimes does not work.

Whether they work or not, it does not affect whether we implement them.

edit: @dreamerlin had some code on color jittering

@innerlee
Copy link
Contributor

Supporting rotation would be great.

I also wanted to have some camera transformations, such as

  • push in
  • pull out
  • pan
  • tilt

Do you have interest in implementing them?

@irvingzhang0512
Copy link
Contributor Author

irvingzhang0512 commented Dec 17, 2020

Supporting rotation would be great.

I also wanted to have some camera transformations, such as

  • push in
  • pull out
  • pan
  • tilt

Do you have interest in implementing them?

@innerlee
I'm a little busy until Jan. 20th. If no one implemente these then, I'll have a try. Before that, I'll implement tsm-mobilenet and support imgaug/albumentation in pipeline.

@innerlee
Copy link
Contributor

No hurry.

There is also lots of movie transition fx that can do some fancy temporal "mixup"

image

@innerlee innerlee added help wanted Extra attention is needed open research labels Dec 17, 2020
@irvingzhang0512
Copy link
Contributor Author

Find an interesting paper here. This paper proposes a video augmentation strategy called VideoMix.

@innerlee
Copy link
Contributor

haha

@irvingzhang0512
Copy link
Contributor Author

irvingzhang0512 commented Jul 10, 2021

PytorchVideo transform random_resized_crop support shift mode, which looks like the movie transforms. Maybe we can support this.
@innerlee @dreamerlin

@kennymckormick kennymckormick changed the title Plan to implement more data augmentation methods, need some suggestions [PR Welcome] More data augmentation methods Oct 13, 2021
@kennymckormick kennymckormick pinned this issue Oct 13, 2021
@kennymckormick kennymckormick unpinned this issue Feb 15, 2022
@kennymckormick kennymckormick pinned this issue Feb 15, 2022
@cir7 cir7 unpinned this issue May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants