ranahanocka / point2mesh

Reconstruct Watertight Meshes from Point Clouds [SIGGRAPH 2020]
MIT License
1.09k stars 122 forks source link

problem with initial mesh #20

Open bubuBlack opened 3 years ago

bubuBlack commented 3 years ago

hi,thanks for your work. When I run with my own data, I have some problems with initial meshes. I created a obj farmat cube as initial mesh,but I met error as shown below:

device: cuda:0 Traceback (most recent call last): File "main.py", line 19, in mesh = Mesh(opts.initial_mesh, device=device, hold_history=True) File "/home/abc/point2mesh/models/layers/mesh.py", line 24, in init self.vs, self.faces = load_obj(file) File "/home/abc/point2mesh/utils.py", line 69, in load_obj assert len(face_vertex_ids) == 3 AssertionError

I want to know how to generate mesh data in the correct format? Thanks again!