-
Notifications
You must be signed in to change notification settings - Fork 41
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
Adding More Augmentation. #21
Comments
are we going for something like keras ImageGenerator tf.keras.preprocessing.image.ImageDataGenerator( ? |
Hey @rakeshbhugra, Right. We already have LoadFromDirectory functionality and augmentation class that currently only supports resize function. The issue aims to add more functions like horizontal-flip etc. Usage about the functions implemented can be found here. So you would have to open a PR adding some of the augmentations that you mentioned. Welcome to the community. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍 |
Keep open. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍 |
Keep open. |
I am new here so it will take some to get familiar with mlpack. I am interested in machine learning so I am here to contribute. Also, I would like to work on this issue if open. |
Hey @RituRajSingh878, Welcome to the community. This issue is still open. Feel free to work on this. |
models/augmentation/augmentation_impl.hpp Lines 25 to 48 in 27c4814
@kartikdutt18 Can you please explain this part of the code? I am not able to understand why are we storing it in an |
Hey @RituRajSingh878, I use a map so that each string could correspond to a function. This would prevent us from writing multiple if conditions. |
okay, I got the idea behind it. Now, my question is, we are creating |
Yes the reason is because we don't have any augmentations yet other than resize. It was done to set the structure. That's the aim of this issue. |
okay, got it. I will open a pr tomorrow. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍 |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍 |
Hey @kartikdutt18, I am Sirish Gambhira. I am new to the community and this issue sounds interesting. I understand that horizontal and vertical flips in this issue are being taken care in the PR #38. Maybe, can we add rotation (like arbitrary angle) which can be useful for image datasets and gaussian noise as mentioned. Let me know if this sounds good. |
@RituRajSingh878 are you still working on this? If not I shall takeup the issue. |
Hey @Sirish07, Sure, feel free to take up other augmentations. Adding rotation based augmentations sounds good to me. |
Hey @kartikdutt18 , thanks for getting back. I added gaussian blurring and modified the current augmentation_impl.hpp and augmentation.hpp files. I would like to know what the next step is. Should I open a PR or should I test my implementation (if so, kindly explain how (I couldn't find any docs)). Thanks in advance. |
Hii @kartikdutt18 , I was went through the GSOC idea of "Ready to use models in mlpack" and I really liked it. I have been a contributor to mlpack main repo but I am new to this models repo and would like to get familiar with it. So, can I take up this issue? I would like to get started with horizontal/vertical flip. Can I take this ? |
Hey @RishabhGarg108, Please feel free to pursue it. |
Thanks for the quick response. I can see that there are some incomplete PRs. So, I will try to take some motivation from them :) |
Hello @kartikdutt18 I'm a newbie here want to contribute to this issue, can u show me the pre- requisites and roadmaps for this. Thanks :) ! |
Hey everyone,
Recently Augmentation class was added. It currently supports only resize function. This issue aims to add other augmentations as well.
Background :
Some augmentations that would be really nice to see would be horizontal flip, vertical flip and gaussian noise. Thanks a lot.
The text was updated successfully, but these errors were encountered: