convert hunyuan3d.py to V3 schema (#10664)

This commit is contained in:
Alexander Piskun
2025-11-20 00:49:01 +02:00
committed by GitHub
parent 65ee24c978
commit 6a1d3a1ae1
5 changed files with 178 additions and 120 deletions

View File

@@ -1,8 +1,11 @@
from .video_types import VideoContainer, VideoCodec, VideoComponents
from .geometry_types import VOXEL, MESH
__all__ = [
# Utility Types
"VideoContainer",
"VideoCodec",
"VideoComponents",
"VOXEL",
"MESH",
]

View File

@@ -0,0 +1,12 @@
import torch
class VOXEL:
def __init__(self, data: torch.Tensor):
self.data = data
class MESH:
def __init__(self, vertices: torch.Tensor, faces: torch.Tensor):
self.vertices = vertices
self.faces = faces