-
Notifications
You must be signed in to change notification settings - Fork 98
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
Unable to display object #45
Comments
I have also installed Dexnet from the installation instructions given https://docs.google.com/document/d/1YImq1cBTy9E1n1On6-00gueDT4hfmYJK4uOcxZIzPoY/edit I am running Ubuntu 16.04 LTS with ROS Kinetic. I am having the same error as you. Did you find a work around for this issue? |
I also have meet same problem. I can not import the gqcnn and Dexnetvisualizer3D and visualization. I install dex-net and pass the: I install dex-net package on Ubuntu16.04 and ROS-Kinetic. I choose
And when I
Can anyone tell me how to fix it? Thanks very much!!! @jeffmahler |
I have the same questions - can you help with this @jeffmahler ? |
I had the same error message "Display object failed: global name 'vis' is not defined". In my case, I could not execute line 50 (importing DexNetVisualizer3D as vis) in src/dexnet/api.py. |
Hi @anmakon , |
Hi @raialonso8, I don't remember what packages were missing at that stage. I had lots of clashing/missing dependencies in total. |
Thanks for the quick answer @anmakon . I really appreciate it Python 2.7.12 (default, Apr 15 2020, 17:07:12)
WARNING:tensorflow:From /home/rai/catkin_ws/src/dex-net/deps/gqcnn/gqcnn/utils/enums.py:40: The name tf.RunOptions is deprecated. Please use tf.compat.v1.RunOptions instead. root WARNING Failed to import gqcnn! Grasp2D functions will not be available. File "_build/bdist.linux-x86_64/egg/pyglet/window/init.py", line 129, in File "/usr/local/lib/python2.7/dist-packages/pyglet-2.0.dev0-py2.7.egg/pyglet/matrix.py", line 78 |
I haven't encountered the issue that you have here, so I'm afraid I can't really help you solve it. Seems like something within pyglet/pyrender isn't working properly? Maybe it's the version, I've installed pyglet 1.4.0b1 and pyrender 0.1.36 instead. I should also mention that I never got everything to work with dexnet and just switched to using gqcnn after a couple weeks of frustration. It provided all the functionality that I needed and is significantly easier to install, might be worth a look depending on what you're planning to do.. |
@raialonso8 Yes, @anmakon is right in that pyglet dropped Python 2.7 compatibility in their most recent releases. I believe the last compatible one is 1.4.10. |
Trying to install dex-net on Jetson TX2 with ROS Kinetic on Ubuntu 16.04 LTS but I am getting a bunch of errors.
Running
python apps/dexnet_cli.py
and selecting an object fromexample.hdf5
as mentioned here leads to the following errors.Because of this I cannot visualize the models.
The text was updated successfully, but these errors were encountered: