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

Confused about sampled poses #28

Open
OrangeSodahub opened this issue Sep 26, 2023 · 0 comments
Open

Confused about sampled poses #28

OrangeSodahub opened this issue Sep 26, 2023 · 0 comments

Comments

@OrangeSodahub
Copy link

Hi, I fetched some generated poses by Poser() and some examples:

n_steps = 10
poser = Poser(H=128, W=256, fov=60., R=1.5)
Ks, poses, prompt_prefixes = poser.sample_train(n_steps)
print(Ks)
print(poses)

# Ks
[array([[ 287.60829222,    0.        , -127.5       ],
       [   0.        , -287.60829222,  -63.5       ],
       [   0.        ,    0.        ,   -1.        ]]), ...]
# poses
[[[-0.37924771 -0.74374956  0.55046142  0.82569212]
  [ 0.          0.59490358  0.80379707  1.20569561]
  [-0.92529518  0.3048382  -0.22561582 -0.33842373]
  [ 0.          0.          0.          1.        ]], ...]

So I was wondering why the intrinsic matrix has a negative value of fy, cx, cy, I think it is just because the speciality of the different coordinates systems of your definition? And if I replace the generation with some given poses (e.g. real Ks and poses captured in reality), it should also work.

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