mlverse / torchvision

R interface to torchvision
https://torchvision.mlverse.org
Other
62 stars 15 forks source link

Documentation on transform_affine() incorrectly inherits some parameter description from transform_random_affine() #63

Closed skeydan closed 1 month ago

skeydan commented 3 years ago

Cmp. ?transform_random_affine and ?transform_affine.

For the latter, some argument descriptions are wrong: translate, scale, shear. (These are deterministic values here, not ranges for random sampling.)

See https://pytorch.org/vision/stable/transforms.html#torchvision.transforms.functional.affine.