A 3D triangle mesh with optional data at the vertices and faces. Args: verts (`torch.Tensor` of shape `(N, 3)`): array of vertext coordinates faces (`torch.Tensor` of shape `(N, 3)`): array of triangles, pointing to indices in verts. vertext_
| 465 | |
| 466 | @dataclass |
| 467 | class MeshDecoderOutput(BaseOutput): |
| 468 | """ |
| 469 | A 3D triangle mesh with optional data at the vertices and faces. |
| 470 | |
| 471 | Args: |
| 472 | verts (`torch.Tensor` of shape `(N, 3)`): |
| 473 | array of vertext coordinates |
| 474 | faces (`torch.Tensor` of shape `(N, 3)`): |
| 475 | array of triangles, pointing to indices in verts. |
| 476 | vertext_channels (Dict): |
| 477 | vertext coordinates for each color channel |
| 478 | """ |
| 479 | |
| 480 | verts: torch.Tensor |
| 481 | faces: torch.Tensor |
| 482 | vertex_channels: Dict[str, torch.Tensor] |
| 483 | |
| 484 | |
| 485 | class MeshDecoder(nn.Module): |