pose encoder trial
This commit is contained in:
@@ -30,8 +30,8 @@ from pytorch3d.structures import Meshes
|
||||
class PoseRenderer(Module):
|
||||
def __init__(self, device='cuda') -> None:
|
||||
super().__init__()
|
||||
# colors = np.load('custom_data/pose_colors.npy')
|
||||
colors = np.load('custom_data/body_colors_interpolated_unweighted.npy')
|
||||
colors = np.load('custom_data/pose_colors.npy')
|
||||
# colors = np.load('custom_data/body_colors_interpolated.npy').astype(np.float32) / 255.0
|
||||
|
||||
self.textures = TexturesVertex(verts_features=torch.from_numpy(colors).to(device)[None, :, :])
|
||||
self.cam = torch.tensor([3.0, 0.0, 0.0], device=device).cpu().numpy()
|
||||
|
||||
Reference in New Issue
Block a user