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

How to apply Ray Based Sampling to my own rendered images? #2

Open
Zhangjzh opened this issue Feb 5, 2023 · 1 comment
Open

How to apply Ray Based Sampling to my own rendered images? #2

Zhangjzh opened this issue Feb 5, 2023 · 1 comment

Comments

@Zhangjzh
Copy link

Zhangjzh commented Feb 5, 2023

Could you please tell me how to modified unroll_gt_smplx.py to apply Ray Based Sampling to my own rendered images.
I modified unroll_gt_smplx.py by myself, but got some errors.
error
The shape of face_normals_average_np is [0, ] and the shape of features is [0, 4]. This shows that the num of faces that are hit is 0. I suspect this results from the difference of scale_factor. My scale_factor is 1.80061 rather than the original scale_factor 2.4851518.
I wonder what I should change if the scale_factor is different.
I would appreciate it a lot if you could give some suggestions! Thank you very mcuh!

@kcyt
Copy link
Owner

kcyt commented Feb 9, 2023

Indeed, it could be that in the code "gt_smplx_mesh.apply_transform(calib)", the 'calib' used is incorrect. You have to ensure that after "gt_smplx_mesh.apply_transform(calib)", the gt_smplx mesh must be within the range of [-1,1] in x, y, and z dimensions.

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