graspnet / anygrasp_sdk

222 stars 22 forks source link

visualization fails #30

Closed LunaceC closed 7 months ago

LunaceC commented 7 months ago
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

so for both demo (grasp_tracking and grasp_detection), I get these 2 lines of warnings in the terminal. What's after that is I only get the prediction in the terminal window, and the visualization part is always skipped. I guess that the check before visualization (cfgs.debug) would fail with the problems indicated by the warnings.

I tried installing autolab by pip but that didnt help. Any help would be appreciated!

LunaceC commented 7 months ago

using anaconda python 3.9.17, pytorch 1.7.1 + cuda 11.0 FYI

chenxi-wang commented 7 months ago

The warnings do not matter. Did you set the visualization flag (--debug)?

LunaceC commented 7 months ago

got that! didnt realize the variable should be set by myself. Thanks a bunch for the fast response :)