AttributeError: 'pymeshlab.pmeshlab.MeshSet' object has no attribute 'remove_unreferenced_vertices'. Did you mean: 'meshing_remove_unreferenced_vertices'? #6
When I run ' python main_4d.py --config configs/4d.yaml input=data/anya_rgba.png save_path=anya', the error is below:
[INFO] save model to logs/anya_4d_model.ply.
Traceback (most recent call last):
File "/data/users/yyy/dreamgaussian4d/main_4d.py", line 635, in
gui.train(opt.iters)
File "/data/users/yyy/dreamgaussian4d/main_4d.py", line 612, in train
self.save_model(mode='geo+tex', t=t)
File "/home/yyy/anaconda3/envs/yyy/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/data/users/yyy/dreamgaussian4d/main_4d.py", line 368, in save_model
mesh = self.renderer.gaussians.extract_mesh_t(path, self.opt.density_thresh, t=t)
File "/data/users/yyy/dreamgaussian4d/gaussian_model_4d.py", line 390, in extract_mesh_t
vertices, triangles = clean_mesh(vertices, triangles, remesh=True, remesh_size=0.015)
File "/data/users/yyy/dreamgaussian4d/mesh_utils.py", line 117, in clean_mesh
ms.remove_unreferenced_vertices()
AttributeError: 'pymeshlab.pmeshlab.MeshSet' object has no attribute 'remove_unreferenced_vertices'. Did you mean: 'meshing_remove_unreferenced_vertices'?
How to solve that?
I notice the pymeshlab version is 0.2.0 in requirments.txt. But when I install pymeshlab==0.2.0, the error occurs:
"ERROR: Could not find a version that satisfies the requirement pymeshlab==0.2.0 (from versions: 2021.10, 2022.2, 2022.2.post2, 2022.2.post3, 2022.2.post4, 2023.12)
ERROR: No matching distribution found for pymeshlab==0.2.0".
So I install the latest version. Is this an error caused by different versions?
When I run ' python main_4d.py --config configs/4d.yaml input=data/anya_rgba.png save_path=anya', the error is below:
[INFO] save model to logs/anya_4d_model.ply. Traceback (most recent call last): File "/data/users/yyy/dreamgaussian4d/main_4d.py", line 635, in
gui.train(opt.iters)
File "/data/users/yyy/dreamgaussian4d/main_4d.py", line 612, in train
self.save_model(mode='geo+tex', t=t)
File "/home/yyy/anaconda3/envs/yyy/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/data/users/yyy/dreamgaussian4d/main_4d.py", line 368, in save_model
mesh = self.renderer.gaussians.extract_mesh_t(path, self.opt.density_thresh, t=t)
File "/data/users/yyy/dreamgaussian4d/gaussian_model_4d.py", line 390, in extract_mesh_t
vertices, triangles = clean_mesh(vertices, triangles, remesh=True, remesh_size=0.015)
File "/data/users/yyy/dreamgaussian4d/mesh_utils.py", line 117, in clean_mesh
ms.remove_unreferenced_vertices()
AttributeError: 'pymeshlab.pmeshlab.MeshSet' object has no attribute 'remove_unreferenced_vertices'. Did you mean: 'meshing_remove_unreferenced_vertices'?
How to solve that?
I notice the pymeshlab version is 0.2.0 in requirments.txt. But when I install pymeshlab==0.2.0, the error occurs: "ERROR: Could not find a version that satisfies the requirement pymeshlab==0.2.0 (from versions: 2021.10, 2022.2, 2022.2.post2, 2022.2.post3, 2022.2.post4, 2023.12) ERROR: No matching distribution found for pymeshlab==0.2.0". So I install the latest version. Is this an error caused by different versions?