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

Pose matrix multiplication question #15

Open
min-jung-shin opened this issue Jun 16, 2022 · 0 comments
Open

Pose matrix multiplication question #15

min-jung-shin opened this issue Jun 16, 2022 · 0 comments

Comments

@min-jung-shin
Copy link

min-jung-shin commented Jun 16, 2022

Hello.!

I'm wondering why are the relative poses in pose_train.py and pose_sequence_folder.py and pose_test.py are inconsistent.

For example, exp_pose ,pose_rel , and pose_rel _pd.

  1. exp_pose = torch.matmul(inv(pose[:, j]), noise_pose[:, j]) in pose_train.py

  2. pose_rel = pose_src @ np.linalg.inv(pose_tgt) in pose_sequence_folder.py

  3. pose_rel_pd = pose_src_pd @ np.linalg.inv(pose_tgt_pd) in pose_sequence_folder.py

  4. p_rel_pose[:, j] = torch.matmul(noise_pose[:, j], inv(p_matrix)) in pose_test.py

I think the matrix multiplication to find out relative poses are should be inv(camera_1_pose) X (camera_2_pose).

But Why the multiplication's order is not consistent?

Please answer it. Thanks. :)

@min-jung-shin min-jung-shin changed the title pose matrix multiplication question Pose matrix multiplication question Jun 16, 2022
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

1 participant