question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement wrappers around any augmentations in imgaug or albumentations

See original GitHub issue

The functionality of our augmentation interface should be strong enough to support a generic wrapper that can wrap any augmentations in imgaug/albumentations into a subclass of our Augmentation.

Some reference:

Interface should look like:

from detectron2.data import transforms as T
import albumentations as A
T.Albumentations(
  A.GaussianBlur(),
  A.xxx
)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:31

github_iconTop GitHub Comments

1reaction
KUASWoodyLINcommented, Oct 22, 2021

#3609 Hi I have implement albumentations wappers, it have image, bounding box and segmentation augmentation supported.

1reaction
Kevin-Delnoijecommented, Jul 5, 2021

@SnowRipple you can easily copy paste datasetmapper.py and change L 134-136 with any other augmentation. Bit of a hacky solution so i hope this issue is still being worked on!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Geometric transforms (augmentations.geometric.transforms)
Augmentation to apply affine transformations to images. This is mostly a wrapper around the corresponding classes and functions in OpenCV.
Read more >
augmenters.geometric — imgaug 0.4.0 documentation
This is a wrapper around Affine . API link: ShearX. Example. Create an augmenter that shears images along the x-axis by random amounts...
Read more >
imgaug.augmenters.meta - Read the Docs
Augmenters that don't apply augmentations themselves, but are needed for meta ... This method is a wrapper around UnnormalizedBatch and augment_batch() .
Read more >
imgaug.augmenters.color - Read the Docs
This is a wrapper around WithBrightnessChannels and hence performs ... it is recommended to use AddToHueAndSaturation as otherwise the image will be ...
Read more >
albumentations — albumentations 1.1.0 documentation
albumentations is a fast image augmentation library and easy to use wrapper around other libraries. Features¶. Great fast augmentations based on highly- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found