-
Notifications
You must be signed in to change notification settings - Fork 109
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
.npy file convert to .obj mesh looks wrong #32
Comments
3D_results.zip |
I'm surprised all file from github or baidu Drive. |
It looks strange. Maybe check the version of openmesh software? |
To remember,For some reason, I installed the following version,Could be the reason? |
So I do not analyze what error is. If you save '.npy' file then use code to obtain '.obj', is the result great? |
I find the same problem. I also save '.npy' file generated by test.sh and get mesh using mesh_to_vertex.py. The fianl mesh is wrong, similar to yours. I don't kown why...... |
I also try to just visualize point as point cloud before get mesh, and the result is also wrong, just a mess... |
I find the same problem. What to do to solve this problem? |
I'm sorry i ask the question in the email yesterday, I run the project on win 10.
today, i install a ubuntu18.04,and the question remains.
I download CariFace_data.zip,CariFace_model.zip and CariFace_exp.zip then extract to directory ./CaricatureFace/data, ./CaricatureFace/model and ./CaricatureFace/exp. run command python train.py --no_train.
in the cariface.py file at line 346, i add code:
mesh = om.read_trimesh("mean_face.obj")
vertex = points.reshape(3,self.vertex_num).data.cpu().numpy()
for i in range(6144):
mesh.points()[i] = vertex[:, i]
om.write_mesh(str(vrecord[0])+".obj", mesh)
The text was updated successfully, but these errors were encountered: