Skip to content
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

Why rot_y multiply by -1 in flipping augumentation? #461

Open
nannanmath opened this issue Mar 27, 2024 · 0 comments
Open

Why rot_y multiply by -1 in flipping augumentation? #461

nannanmath opened this issue Mar 27, 2024 · 0 comments
Assignees

Comments

@nannanmath
Copy link

I found the code like:

if flipped:
locs[0] *= -1
rot_y *= -1

Why the rot_y multply by -1 after horizontal flipping augumentation?
I feel the rot_y should be:

if rot_y < 0:
  rot_y = -np.pi - rot_y
else:
  rot_y = np.pi - rot_y

Is it correct or I'm missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants