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

AttributeError: 'NoneType' object has no attribute 'cluster_poses' #288

Open
yylovestudying opened this issue Jan 7, 2025 · 3 comments
Open

Comments

@yylovestudying
Copy link

这个问题应该如何解决?

@yylovestudying yylovestudying changed the title Traceback (most recent call last): File "E:\yuyang\weizi\FoundationPose\FoundationPose-main\run_demo.py", line 45, in <module> est = FoundationPose(model_pts=mesh.vertices, model_normals=mesh.vertex_normals, mesh=mesh, scorer=scorer, refiner=refiner, debug_dir=debug_dir, debug=debug, glctx=glctx) File "E:\yuyang\weizi\FoundationPose\FoundationPose-main\estimater.py", line 27, in __init__ self.make_rotation_grid(min_n_views=40, inplane_step=60) File "E:\yuyang\weizi\FoundationPose\FoundationPose-main\estimater.py", line 118, in make_rotation_grid rot_grid = mycpp.cluster_poses(30, 99999, rot_grid, self.symmetry_tfs.data.cpu().numpy()) AttributeError: 'NoneType' object has no attribute 'cluster_poses' AttributeError: 'NoneType' object has no attribute 'cluster_poses' Jan 7, 2025
@wenbowen123
Copy link
Collaborator

did you follow the installation steps including building the cpp files?

@wanghao5211
Copy link

I faced the same question,do you have solved it

@prajwalgt
Copy link

If there's a problem when you run build_all.sh in the docker container, you are likely to encounter this issue. Check the CMake error logs in the mycpp/build folder. Just deleting the /mycpp/build folder and building again with the script 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

4 participants