albumentations icon indicating copy to clipboard operation
albumentations copied to clipboard

Affine has no `rotate_method` in `1.3.0`

Open 23pointsNorth opened this issue 2 years ago • 3 comments

🐛 Bug

In the documentation + Rotate we have a paramter named rotate_method for v 1.3.0, however installing 1.3.0 we get the following error:

>>> import albumentations as A
>>> A.__version__
'1.3.0'
>>> A.Affine
<class 'albumentations.augmentations.geometric.transforms.Affine'>
>>> A.Affine(rotate_method="elipse")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: __init__() got an unexpected keyword argument 'rotate_method'

Confirming that the locally installed wheel does not have this param.

23pointsNorth avatar Feb 15 '23 17:02 23pointsNorth

Current PyPi version does not have these changes. This is issue with documentation - it shows current master state, not latest PyPi version. You can install latest version of library from github directly pip install git+https://github.com/albumentations-team/albumentations.git

Dipet avatar Feb 15 '23 17:02 Dipet

I see! Any timeline on the bump release of 1.3.1 then?

23pointsNorth avatar Feb 15 '23 17:02 23pointsNorth

Maybe after merging changes from #1396

Dipet avatar Feb 15 '23 17:02 Dipet