Skip to content
#

augmentation

Here are 228 public repositories matching this topic...

albumentations
BloodAxe
BloodAxe commented Oct 6, 2021

Enhancement

A discussion in #614 revealed a good place for improvement - we should ensure that input image is continuous upon start of the augmentation pipeline. This could be implemented by adding image = np.ascontiguousarray(image) to image and mask targets.

A proposed place to add this call - somewhere at the beginning of A.Compose.__call__.

iver56
iver56 commented Aug 5, 2021

The offset can be randomized, as long as the output has the specified length

Like https://github.com/Spijkervet/torchaudio-augmentations/blob/d044f9d020e12032ab9280acf5f34a337e72d212/torchaudio_augmentations/augmentations/random_resized_crop.py#L5

The idea is that one can have a chain of transforms, and some of them change the input length, but the final length should be fixed. That is where

Improve this page

Add a description, image, and links to the augmentation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the augmentation topic, visit your repo's landing page and select "manage topics."

Learn more