We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there. I am looking for a way of tracking the augmentations that happen as I augment my batch of images one by one in a for loop.
My augmentation sequence looks like this:
train_aug = Sequential( [ Resize(tgt_img_size[:2], interpolation="linear"), Fliplr(0.3), Sometimes(0.3, Affine(rotate=10)), ] )
I then apply it as follows: aug_img = train_aug.augment_image(img)
It would be nice if I were able post-augmentation to determine what level of rotation and whether or not it was flipped.
Printing the augmentor parameters looks something like this: [DiscreteUniform(Deterministic(int 224), Deterministic(int 224)), Deterministic(linear), 'HW'] [Binomial(Deterministic(float 0.30000000))] [Binomial(Deterministic(float 0.30000000))]
Unfortunately, the above does not tell me how the input image was affected. Your help in this would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there. I am looking for a way of tracking the augmentations that happen as I augment my batch of images one by one in a for loop.
My augmentation sequence looks like this:
I then apply it as follows:
aug_img = train_aug.augment_image(img)
It would be nice if I were able post-augmentation to determine what level of rotation and whether or not it was flipped.
Printing the augmentor parameters looks something like this:
[DiscreteUniform(Deterministic(int 224), Deterministic(int 224)), Deterministic(linear), 'HW']
[Binomial(Deterministic(float 0.30000000))]
[Binomial(Deterministic(float 0.30000000))]
Unfortunately, the above does not tell me how the input image was affected. Your help in this would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: