Ejemplo n.º 1
0
def read_pose(pose_path):
    pose = read_pickle(pose_path)['RT']
    return torch.from_numpy(pose).float()
Ejemplo n.º 2
0
def read_vertex(vertex_path):
    vertex = read_pickle(vertex_path)
    return torch.from_numpy(vertex).float().permute(2, 0, 1)