Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about GenerateData #107

Open
UncleTom111 opened this issue Jul 17, 2022 · 1 comment
Open

Question about GenerateData #107

UncleTom111 opened this issue Jul 17, 2022 · 1 comment

Comments

@UncleTom111
Copy link

I used model.obj, which is from your folder "Pixel2Mesh/GenerateData/1a0bc9ab92c915167ae33d942430658c/".

Step1: I used pymeshlab and upsample.mlx to get the XYZ file.
Step2: When I tried to run 2_generate_normal.py , the error was like below:


in generate_normal(pt_position, face_pts, face_axis)
60 continue
61
---> 62 transform_verts = np.dot(pt_position - f_org, axis.transpose())
63 vert_idx = np.where(np.abs(transform_verts[:,2]) < 6e-7)[0]
64

ValueError: operands could not be broadcast together with shapes (19817,6) (3,)

I don't know which step is wrong. Should I use Meshlabserver, which is discontinued, instead of pymeshlab?

@Michael-H1302
Copy link

I had a similiar issue and used the discontinued meshlabserver (Meshlab 2020.09). It solved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants