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

I encountered an error while running the SLBC example program #20

Open
cyxin-art opened this issue Dec 1, 2023 · 1 comment
Open

I encountered an error while running the SLBC example program #20

cyxin-art opened this issue Dec 1, 2023 · 1 comment

Comments

@cyxin-art
Copy link

Traceback (most recent call last):
File "C:\Users\caoyouxiang\Desktop\learning\findpoint\11111.py", line 37, in
lbc = SLBC(point_cloud=pcd,
File "E:\anaconda\envs\myenv\lib\site-packages\pc_skeletor\laplacian.py", line 444, in init
self.trunk = self.trunk.voxel_down_sample(down_sample)
AttributeError: 'SLBC' object has no attribute 'trunk'

@meyerls
Copy link
Owner

meyerls commented Dec 7, 2023

Hm, the trunk and branch pcd should be init in LaplacianBasedContractionBase.

Did you run the example_tree.py file? Could you please check what type pcd_trunk is (it should be of type open3d point cloud)?

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