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

run command_demo.sh error #94

Open
TheFive666 opened this issue Feb 2, 2024 · 3 comments
Open

run command_demo.sh error #94

TheFive666 opened this issue Feb 2, 2024 · 3 comments

Comments

@TheFive666
Copy link

I encountered an error while running the demo program. Could you please help me take a look? The GPU is GNVDIA3060, and my running environment is CUDA11, cudnnv8.7.0, pytorch 2.2.0+cu118, and python 3.8.8,I can use Open3D to display the point cloud normally
2024-02-02 16-25-24屏幕截图

The error is as follows:

(base) w@w-Dell-G16-7620:~/graspnet-baseline-main$ sh command_demo.sh
WARNING:root:Failed to import geometry msgs in rigid_transformations.py.
WARNING:root:Failed to import ros dependencies in rigid_transforms.py
WARNING:root:autolab_core not installed as catkin package, RigidTransform ros methods will be unavailable
-> loaded checkpoint logs/log_kn/checkpoint-rs.tar (epoch: 18)
Traceback (most recent call last):
File "demo.py", line 125, in
demo(data_dir)
File "demo.py", line 118, in demo
gg = get_grasps(net, end_points)
File "demo.py", line 96, in get_grasps
end_points = net(end_points)
File "/home/w/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/w/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/home/w/graspnet-baseline-main/models/graspnet.py", line 71, in forward
end_points = self.view_estimator(end_points)
File "/home/w/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/w/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/home/w/graspnet-baseline-main/models/graspnet.py", line 33, in forward
seed_features, seed_xyz, end_points = self.backbone(pointcloud, end_points)
File "/home/w/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/w/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/home/w/graspnet-baseline-main/models/backbone.py", line 105, in forward
xyz, features, fps_inds = self.sa1(xyz, features)
File "/home/w/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/w/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "/home/w/graspnet-baseline-main/pointnet2/pointnet2_modules.py", line 235, in forward
inds = pointnet2_utils.furthest_point_sample(xyz, self.npoint)
File "/home/w/.local/lib/python3.8/site-packages/torch/autograd/function.py", line 553, in apply
return super().apply(*args, **kwargs) # type: ignore[misc]
File "/home/w/graspnet-baseline-main/pointnet2/pointnet2_utils.py", line 71, in forward
return _ext.furthest_point_sampling(xyz, npoint)
RuntimeError: Unknown layout

@chenxi-wang
Copy link
Collaborator

Seems like an error in pointnet2. Did you compile pointnet2 correctly?

@TheFive666
Copy link
Author

yes
2024-02-06 18-37-11屏幕截图

@TheFive666
Copy link
Author

Seems like an error in pointnet2. Did you compile pointnet2 correctly?

yes,gcc version is 7.5.0

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