keras-team / keras-preprocessing

Utilities for working with image data, text data, and sequence data.
Other
1.02k stars 444 forks source link

apply_affine_transform() callers do not pass axes indices (row_axis, col_axis) #316

Closed eli-osherovich closed 3 years ago

eli-osherovich commented 3 years ago

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or on the Keras Slack channel instead of opening a GitHub issue.

Thank you!

It seems that all callers (random_X()) of apply_affine_transform() inside affine_transformations module do not pass row_axis, col_axis parameters.

Example from random_shift(): https://github.com/keras-team/keras-preprocessing/blob/33d9d597f167b5d6fcc7efa40b38be4b2133273c/keras_preprocessing/image/affine_transformations.py#L84-L89