-
Notifications
You must be signed in to change notification settings - Fork 460
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
Image augmentation in dataset #207
Comments
Just leaving this here for future reference. For some reason imageflow is not available on crates.io (ref issue). I was just browsing the other possible crates and I found photon (extends Also found zune-image with zune-imageprocs, which seems to have a focus on performance and support for different image types ( |
Hello, I have been working on a first pass attempt for getting some vision utility with burn tensors. I'm somewhat new to the open source space, so I am not sure whether what I have done so far warrants a PR, but you can find it in my fork of burn, under burn-vision: https://github.com/ronofays/burn/tree/burn-vision/burn-vision Currently, I have three things done:
read/write is in io.rs Obviously a lot needs to be done to handle images that are not u8 rgba images, but I would be thrilled to have some feedback on the start that I have here, particularly if there are some code style things for burn that I am missing. Thanks! |
@ronofays Thanks for sharing your work! Yes, any addition in this space would be awesome. I suggest you create a draft PR and submit to the project. It's easier to see your new additions and we can context comment. |
Linking related ticket: #2361 |
Feature description
Similar to Pytorch's vision utility, it'd be great if burn provides with interface and a few useful image augmentation utilities, such as random image rotation.
Feature motivation
Instead of having users coming up with their own utils, it would be beneficial for all if Burn's dataset supports data augmentation.
(Optional) Suggest a Solution
For image augmentation we could use these image backends: 1) https://lib.rs/gh/imazen/imageflow/imageflow_core or 2)https://github.com/image-rs/imageproc
The text was updated successfully, but these errors were encountered: