FluxML / DataAugmentation.jl

Flexible data augmentation library for machine and deep learning
https://fluxml.ai/DataAugmentation.jl/dev/
MIT License
41 stars 17 forks source link

Fix crop-projective composition #63

Closed lorenzoh closed 2 years ago

lorenzoh commented 2 years ago

Fixes a bug (reported in #62) where composing a CroppedProjectiveTransform with another ProjectiveTransform would cause the cropping to be skipped. Now, this instead creates a Sequence meaning the crop is properly applied; however, the last projection is not fused with that before the crop.

Closes #62