pyramid pipeline ready
This commit is contained in:
@@ -25,8 +25,7 @@ to_keep = sio.loadmat('smpl/keep_remove.mat')['keep'].reshape(-1)
|
||||
F_fix_coll = torch.tensor(np.tile(np.load("smpl/smpl_faces.npy")[to_keep,:][None,:,:], [4,1,1]), device='cuda')
|
||||
|
||||
|
||||
|
||||
def fix_collision(V, B, mask, thr=.004):
|
||||
def fix_collision(V: torch.Tensor, B: torch.Tensor, mask: torch.Tensor, thr=.004):
|
||||
mesh = Meshes(B, F_fix_coll)
|
||||
B_vn = torch.stack(mesh.verts_normals_list())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user