We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am running the sample, and the error occured:
L, M = robust_laplacian.point_cloud_laplacian(points) AttributeError: module 'robust_laplacian' has no attribute 'point_cloud_laplacian'
The code is attached:
` import robust_laplacian from plyfile import PlyData import numpy as np import polyscope as ps import scipy.sparse.linalg as sla # Read input plydata = PlyData.read("zhi.ply") points = np.vstack(( plydata['vertex']['x'], plydata['vertex']['y'], plydata['vertex']['z'] )).T # Build point cloud Laplacian L, M = robust_laplacian.point_cloud_laplacian(points) # (or for a mesh) # L, M = robust_laplacian.mesh_laplacian(verts, faces) # Compute some eigenvectors n_eig = 10 evals, evecs = sla.eigsh(L, n_eig, M, sigma=1e-8) # Visualize ps.init() ps_cloud = ps.register_point_cloud("my cloud", points) for i in range(n_eig): ps_cloud.add_scalar_quantity("eigenvector_"+str(i), evecs[:,i], enabled=True) ps.show()`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I am running the sample, and the error occured:
The code is attached:
The text was updated successfully, but these errors were encountered: