Spaces:
Running
on
Zero
Running
on
Zero
xinjie.wang
commited on
Commit
·
0c450f5
1
Parent(s):
01827f5
update
Browse files
asset3d_gen/data/backproject_v2.py
CHANGED
@@ -601,8 +601,7 @@ def entrypoint(
|
|
601 |
|
602 |
if not args.skip_fix_mesh:
|
603 |
mesh.vertices, scale, center = normalize_vertices_array(mesh.vertices)
|
604 |
-
mesh_fixer = MeshFixer(args.device)
|
605 |
-
mesh_fixer.set_mesh(mesh.vertices, mesh.faces)
|
606 |
mesh.vertices, mesh.faces = mesh_fixer(
|
607 |
filter_ratio=args.mesh_sipmlify_ratio,
|
608 |
max_hole_size=0.04,
|
|
|
601 |
|
602 |
if not args.skip_fix_mesh:
|
603 |
mesh.vertices, scale, center = normalize_vertices_array(mesh.vertices)
|
604 |
+
mesh_fixer = MeshFixer(mesh.vertices, mesh.faces, args.device)
|
|
|
605 |
mesh.vertices, mesh.faces = mesh_fixer(
|
606 |
filter_ratio=args.mesh_sipmlify_ratio,
|
607 |
max_hole_size=0.04,
|