Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #6773. ### Description Call `rand_affine_grid()` once before call `rand_affine_grid.get_transformation_matrix()`, since its documented as "Get the most recently applied transformation matrix", or the `.affine` attribute will not be set. Also, set `randomize=False` here since randomization if performed in the beginning of the function. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. --------- Signed-off-by: function2 <[email protected]> Co-authored-by: Wenqi Li <[email protected]>
- Loading branch information