You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issues building a convex hull and then adapting the scripts to my own point clouds.
I seem to have been able to build the hull.obj file, but I'm not sure if it has problems.
When running the script, there's an error in models/losses.py: this line
Hi, had the same problem. I solved it by noticing that the giraffe.ply point cloud file in the examples folder has normals listed next to the vertex, so I put my custom point cloud file onto CloudCompare, calculated the normals, exported the point cloud as an ascii .ply file and tried again, and it seems to not produce the error.
Also notice the error in the losses.py script features mostly "normals" related variables, so that would be the hint at the problem.
Hello.
I'm having issues building a convex hull and then adapting the scripts to my own point clouds.
I seem to have been able to build the hull.obj file, but I'm not sure if it has problems.
When running the script, there's an error in
models/losses.py
:this line
cham_norm_x = F.cosine_similarity(x_normals, x_normals_near, dim=2, eps=1e-6)
The error is:
RuntimeError: The size of tensor a (3) must match the size of tensor b (0) at non-singleton dimension 2
x_normals.shape = torch.Size([1, 15000, 3])
x_normals_near.shape = torch.Size([1, 15000, 0])
I have no idea where I went wrong, any help would be deeply appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: