natanielruiz
2017-09-15 8e5d7dbfe49d194b7d0b616307663e9a88fbcd88
code/utils.py
@@ -14,7 +14,7 @@
def get_pose_params_from_mat(mat_path):
    # This functions gets the pose parameters from the .mat
    # Annotations that come with the 300W_LP dataset.
    # Annotations that come with the Pose_300W_LP dataset.
    mat = sio.loadmat(mat_path)
    # [pitch yaw roll tdx tdy tdz scale_factor]
    pre_pose_params = mat['Pose_Para'][0]