BerkeleyAutomation / dex-net

Repository for reading the Dex-Net 2.0 HDF5 database of 3D objects, parallel-jaw grasps, and robust grasp metrics
https://berkeleyautomation.github.io/dex-net/code.html
Other
296 stars 97 forks source link

ImportError: cannot import name 'Visualizer' from 'gqcnn' #72

Open Ultraopxt opened 2 years ago

Ultraopxt commented 2 years ago

Hi, Thanks for your great job.

When I try to run tools/generate_gqcnn_dataset.py, got the following error:

Traceback (most recent call last): File "tools/generate_gqcnn_dataset.py", line 59, in from gqcnn import Visualizer as vis2d ImportError: cannot import name 'Visualizer' from 'gqcnn' (/home/adminis/anaconda3/envs/gqcnn/lib/python3.7/site-packages/gqcnn/init.py)

Any help will be appreciate.

kondrauer commented 2 years ago

Try out this fix from #50, there are some other things going wrong with this script.

https://github.com/benjertho/dex-net-public/commit/5e67ee089d068c11b400810e4dde19147bcc7e25