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

Maximum range of yaw and pitches #23

Closed
VIROBO-15 opened this issue May 1, 2023 · 1 comment
Closed

Maximum range of yaw and pitches #23

VIROBO-15 opened this issue May 1, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@VIROBO-15
Copy link

Hi,

Can you please let me know what is the maximum range of yaw and pitches the GMPI can handle

@Xiaoming-Zhao
Copy link
Collaborator

Xiaoming-Zhao commented May 26, 2023

We have not stress tested this.

But these two may give you a sense:

ml-gmpi/gmpi/curriculums.py

Lines 113 to 114 in 672294b

'h_stddev': 0.289,
'v_stddev': 0.127,

cam_pose_n_truncated_stds: 2

Essentially, during training, we use sample camera poses (or 3x for AFHQCat) within a 2x standard deviation. So GMPI should be able to handle [-2 * std, 2 * std] and extrapolate a little bit.

And for the video we showed, here is the angle range:

if horizontal_cam_move:
face_angles = np.linspace(0.5, -0.5, 100).tolist()
face_angles = [a + metadata["h_mean"] for a in face_angles]
else:
face_angles = np.linspace(0.3, -0.3, 100).tolist()
face_angles = [a + metadata["v_mean"] for a in face_angles]

@Xiaoming-Zhao Xiaoming-Zhao added the help wanted Extra attention is needed label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants