XingangPan / GAN2Shape

Code for GAN2Shape (ICLR2021 oral)
https://arxiv.org/abs/2011.00844
MIT License
575 stars 101 forks source link

About Performing Pitch Rotation... #39

Closed Mayur28 closed 2 years ago

Mayur28 commented 2 years ago

Hi,

I am truly fascinated by your results!

I have noticed that all demos/videos that I have seen regarding GAN2Shape only modify the yaw direction - I just wanted to find out how would one go about also allowing for rotations in the pitch direction as well (i.e. allowing the head to be moved up and down as well?

Thanks!

XingangPan commented 2 years ago

@Mayur28 Thank you for your interest in GAN2Shape. The render_view function in renderer.py allows to render rotations in both pitch and yaw directions. (https://github.com/XingangPan/GAN2Shape/blob/deb9ac081d4f9243361a66befa7b9cfdb670d88c/gan2shape/renderer/renderer.py#L201)

Mayur28 commented 2 years ago

Hi @XingangPan,

Thank you for your speedy response, I will take a closer look at this portion of the solution and will re-open this issue if I have any further questions, thanks!