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
Add augmentors to chip classification #851
Conversation
Currently running into an issue I have not been able to solve yet. I will continue solving the issue.
|
So far I have found the following.
So far we have:
Question @lewfish : |
I'm not sure if you saw this, but it might help: https://github.com/albu/albumentations/blob/master/notebooks/migrating_from_torchvision_to_albumentations.ipynb One way to solve this is to modify the |
I had not seen that link, thank you. Augmenting to numpy array and in the end back to pil does not work, so I'm going for overriding the ImageFolder class. I will continue working for now. |
Still to do:
I'll finish those this week. |
Added ToNumpyArray transform for compatibility with Albumentations Finished preliminary implementation of albumentations augmentors Added more augmentors Fixed the to protobuf for the augmentors Fixed typo Changed return value for the mock augmentor Updated changelog.rst Cleaning up of some imports and requirements Cleaning up code
Added ToNumpyArray transform for compatibility with Albumentations Finished preliminary implementation of albumentations augmentors Added more augmentors Fixed the to protobuf for the augmentors Fixed typo Changed return value for the mock augmentor Updated changelog.rst Cleaning up of some imports and requirements Removed unneeded import Removed another unneeded import Added augmentor description Added missing ']' Style fixes
@lewfish Good morning, I think this PR is nearing completion. The errors that are thrown in the integration test however, seem to occur in a part of the code that is unrelated to the part I changed; the This leaves me with two questions:
|
I have found the issue. |
I'm doing the following and then hopefully merging: run |
I'm closing this in favor of #859. I had to make a new PR because I am unable to simply add commits to this branch since I don't have permission. |
Overview
Adds the option to augment training data via blurring, rotating, and/or adding snow to the training data. To do this the albumentations library is used.
Checklist
docs/changelog.rst
needs-backport
label if PR is bug fix that applies to previous minor releaseNotes
Still work in progress.
Testing Instructions
Closes #831