Commit
·
bb5d6af
1
Parent(s):
e588787
Fix typo in remesh parameter in generate3d function
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -77,7 +77,7 @@ def generate3d(model, rgb, ccm, device):
|
|
77 |
verts, faces = clean_mesh(
|
78 |
orig_verts.astype(np.float32),
|
79 |
data_config['faces'].squeeze().cpu().numpy().astype(np.int32),
|
80 |
-
repair=
|
81 |
)
|
82 |
data_config['verts'] = torch.from_numpy(verts).to(device).contiguous()
|
83 |
data_config['faces'] = torch.from_numpy(faces).to(device).contiguous()
|
|
|
77 |
verts, faces = clean_mesh(
|
78 |
orig_verts.astype(np.float32),
|
79 |
data_config['faces'].squeeze().cpu().numpy().astype(np.int32),
|
80 |
+
repair=True, remesh=True, remesh_size=0.005, remesh_iters=1
|
81 |
)
|
82 |
data_config['verts'] = torch.from_numpy(verts).to(device).contiguous()
|
83 |
data_config['faces'] = torch.from_numpy(faces).to(device).contiguous()
|