Merge pull request #531 from DenisKochetov/fastmesh

fix hunyuan max_faces
This commit is contained in:
Mr. For Example
2025-09-16 19:52:06 +04:00
committed by GitHub
+1 -1
View File
@@ -5445,7 +5445,7 @@ class Hunyuan3D_21_ShapeGen:
}
@torch.no_grad()
def generate(self, shapegen_pipe, image, seed, steps, guidance_scale, octree_resolution, remove_background, auto_cleanup):
def generate(self, shapegen_pipe, image, seed, steps, guidance_scale, octree_resolution, remove_background, auto_cleanup, max_faces):
pil_image = torch_imgs_to_pils(image)[0]
if remove_background:
bg_remover = BackgroundRemover_2_1()