mirror of
https://github.com/KwaiVGI/LivePortrait.git
synced 2025-03-15 14:02:12 +00:00
trace all remaining network modules
This commit is contained in:
parent
c35cf139e0
commit
e2ec7f5b91
File diff suppressed because it is too large
Load Diff
@ -32,6 +32,8 @@ def get_rotation_matrix(pitch_, yaw_, roll_):
|
|||||||
""" the input is in degree
|
""" the input is in degree
|
||||||
"""
|
"""
|
||||||
# transform to radian
|
# transform to radian
|
||||||
|
PI = np.pi
|
||||||
|
|
||||||
pitch = pitch_ / 180 * PI
|
pitch = pitch_ / 180 * PI
|
||||||
yaw = yaw_ / 180 * PI
|
yaw = yaw_ / 180 * PI
|
||||||
roll = roll_ / 180 * PI
|
roll = roll_ / 180 * PI
|
||||||
|
Loading…
Reference in New Issue
Block a user