Skip to content

Image stacking issue with data augmentation (Docker 0.20, Object detection) #1715

Answered by AdeelH
laetitialalla asked this question in Q&A
Discussion options

You must be logged in to vote

The size error is due to A.RandomScale which resizes the images. If you want to retain the image size after scaling (i.e. by cropping after upscaling and padding after downscaling), you can try A.ShiftScaleRotate. If you don't want the shifting and rotation, you can set shift_limit and rotate_limit to zero.

I would recommend spending some time trying out these augmentation transforms on sample images from your data in a notebook to get a feel for how they affect your data and then choosing the ones that seem most useful. The full list of available transforms can be found here.

I confess I am a bit lost between all the GeoDataSet classes. I am using ObjectDetectionGeoDataWindowConfig to d…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@laetitialalla
Comment options

@AdeelH
Comment options

@AdeelH
Comment options

Answer selected by laetitialalla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants