-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Random parameterization of WarpAffine #552
Comments
Hi, |
@JanuszL thank you for the suggestion ! I close the issue as I got the answer. Any plans to provide random warp affine ops ? |
Currently, we are focusing on providing operators that are used in the most common networks. Adding ops you are asking for is something that is more than welcome as an external contribution. |
@JanuszL Thanks, I see your point. Maybe I misunderstood your docs, but I would like to perform the following data augementation on image and mask:
Such ops are also rather common. Which ops should I use for that ? |
Hi,
However, only Rotate will accept argument coming from the random generator. For XY translations and shear it should be easy to create something on your own using flip operator as an example here and here - you need to add Shx and Shy args and populate transformation matrix accordingly in Prepare. |
I would like to have a random affine data augmentation specified by random angle, scale, shear angle, 2 translations. Using this input I can produce the matrix M (with 6 values) as suggested in the docs.
The problem is that we cannot do arithmetics with
TensorReference
.In details:
Any suggestions on how to achieve that ?
Thanks !
The text was updated successfully, but these errors were encountered: