Open ImInsulator opened 4 years ago
I re-installed my visualization package, still no good.
$ pip install --upgrade visualization
/home/xjy/.local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
warnings.warn(warning, RequestsDependencyWarning)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Requirement already up-to-date: visualization in /home/xjy/catkin_ws/src/visualization (0.1.4)
Requirement already satisfied, skipping upgrade: imageio<=2.6.1 in /home/xjy/.local/lib/python2.7/site-packages (from visualization) (2.6.1)
Requirement already satisfied, skipping upgrade: numpy in /home/xjy/.local/lib/python2.7/site-packages (from visualization) (1.16.0)
Requirement already satisfied, skipping upgrade: matplotlib<=2.2.0 in /usr/local/lib/python2.7/dist-packages (from visualization) (1.4.3)
Requirement already satisfied, skipping upgrade: trimesh[easy] in /home/xjy/.local/lib/python2.7/site-packages (from visualization) (2.24.9)
Requirement already satisfied, skipping upgrade: autolab_core in /home/xjy/catkin_ws/src/autolab_core (from visualization) (0.0.14)
Requirement already satisfied, skipping upgrade: autolab_perception in /home/xjy/catkin_ws/src/perception (from visualization) (0.0.9)
Requirement already satisfied, skipping upgrade: pyrender in /usr/local/lib/python2.7/dist-packages (from visualization) (0.1.36)
Requirement already satisfied, skipping upgrade: pillow in /usr/local/lib/python2.7/dist-packages (from imageio<=2.6.1->visualization) (6.2.2)
Requirement already satisfied, skipping upgrade: futures in /home/xjy/.local/lib/python2.7/site-packages (from imageio<=2.6.1->visualization) (3.1.1)
Requirement already satisfied, skipping upgrade: enum34 in /home/xjy/.local/lib/python2.7/site-packages (from imageio<=2.6.1->visualization) (1.1.10)
Requirement already satisfied, skipping upgrade: nose>=0.11.1 in /usr/lib/python2.7/dist-packages (from matplotlib<=2.2.0->visualization) (1.3.7)
Requirement already satisfied, skipping upgrade: pyparsing>=1.5.6 in /usr/lib/python2.7/dist-packages (from matplotlib<=2.2.0->visualization) (2.0.3)
Requirement already satisfied, skipping upgrade: python-dateutil in /usr/lib/python2.7/dist-packages (from matplotlib<=2.2.0->visualization) (2.4.2)
Requirement already satisfied, skipping upgrade: six>=1.4 in /usr/lib/python2.7/dist-packages (from matplotlib<=2.2.0->visualization) (1.10.0)
Requirement already satisfied, skipping upgrade: mock in /home/xjy/.local/lib/python2.7/site-packages (from matplotlib<=2.2.0->visualization) (3.0.5)
Requirement already satisfied, skipping upgrade: pytz in /usr/local/lib/python2.7/dist-packages (from matplotlib<=2.2.0->visualization) (2020.1)
Requirement already satisfied, skipping upgrade: networkx in /home/xjy/.local/lib/python2.7/site-packages (from trimesh[easy]->visualization) (2.2)
Requirement already satisfied, skipping upgrade: scipy in /usr/local/lib/python2.7/dist-packages (from trimesh[easy]->visualization) (0.16.1)
Requirement already satisfied, skipping upgrade: Shapely; extra == "easy" in /usr/local/lib/python2.7/dist-packages/Shapely-1.7.0-py2.7-linux-x86_64.egg (from trimesh[easy]->visualization) (1.7.0)
Requirement already satisfied, skipping upgrade: lxml; extra == "easy" in /usr/local/lib/python2.7/dist-packages/lxml-4.5.0-py2.7-linux-x86_64.egg (from trimesh[easy]->visualization) (4.5.0)
Requirement already satisfied, skipping upgrade: rtree; extra == "easy" in /usr/lib/python2.7/dist-packages (from trimesh[easy]->visualization) (0.8.2)
Requirement already satisfied, skipping upgrade: pyglet; extra == "easy" in /usr/local/lib/python2.7/dist-packages (from trimesh[easy]->visualization) (1.4.10)
Requirement already satisfied, skipping upgrade: msgpack-python; extra == "easy" in /usr/lib/python2.7/dist-packages (from trimesh[easy]->visualization) (0.4.6)
Requirement already satisfied, skipping upgrade: sympy; extra == "easy" in /usr/local/lib/python2.7/dist-packages/sympy-1.5.1-py2.7.egg (from trimesh[easy]->visualization) (1.5.1)
Requirement already satisfied, skipping upgrade: colorlog; extra == "easy" in /usr/local/lib/python2.7/dist-packages/colorlog-4.1.0-py2.7.egg (from trimesh[easy]->visualization) (4.1.0)
Requirement already satisfied, skipping upgrade: svg.path; extra == "easy" in /usr/local/lib/python2.7/dist-packages/svg.path-4.0.2-py2.7.egg (from trimesh[easy]->visualization) (4.0.2)
Requirement already satisfied, skipping upgrade: scikit-learn in /home/xjy/.local/lib/python2.7/site-packages (from autolab_core->visualization) (0.16.1)
Requirement already satisfied, skipping upgrade: ruamel.yaml in /usr/lib/python2.7/dist-packages (from autolab_core->visualization) (0.10.23)
Requirement already satisfied, skipping upgrade: multiprocess in /usr/local/lib/python2.7/dist-packages/multiprocess-0.70.9-py2.7-linux-x86_64.egg (from autolab_core->visualization) (0.70.9)
Requirement already satisfied, skipping upgrade: setproctitle in /usr/local/lib/python2.7/dist-packages/setproctitle-1.1.10-py2.7-linux-x86_64.egg (from autolab_core->visualization) (1.1.10)
Requirement already satisfied, skipping upgrade: joblib in /usr/local/lib/python2.7/dist-packages/joblib-0.14.1-py2.7.egg (from autolab_core->visualization) (0.14.1)
Requirement already satisfied, skipping upgrade: opencv-python in /home/xjy/.local/lib/python2.7/site-packages (from autolab_perception->visualization) (4.2.0.32)
Requirement already satisfied, skipping upgrade: keras in /home/xjy/.local/lib/python2.7/site-packages (from autolab_perception->visualization) (2.3.1)
Requirement already satisfied, skipping upgrade: cycler in /usr/local/lib/python2.7/dist-packages (from autolab_perception->visualization) (0.10.0)
Requirement already satisfied, skipping upgrade: pyserial>=3.4 in /usr/local/lib/python2.7/dist-packages/pyserial-3.4-py2.7.egg (from autolab_perception->visualization) (3.4)
Requirement already satisfied, skipping upgrade: ipython==5.5.0 in /home/xjy/.local/lib/python2.7/site-packages (from autolab_perception->visualization) (5.5.0)
Requirement already satisfied, skipping upgrade: scikit-image in /usr/local/lib/python2.7/dist-packages (from autolab_perception->visualization) (0.11.3)
Requirement already satisfied, skipping upgrade: scikit-video in /usr/local/lib/python2.7/dist-packages/scikit_video-1.1.11-py2.7.egg (from autolab_perception->visualization) (1.1.11)
Requirement already satisfied, skipping upgrade: ffmpeg-python in /usr/local/lib/python2.7/dist-packages/ffmpeg_python-0.2.0-py2.7.egg (from autolab_perception->visualization) (0.2.0)
Requirement already satisfied, skipping upgrade: freetype-py in /home/xjy/.local/lib/python2.7/site-packages (from pyrender->visualization) (2.1.0.post1)
Requirement already satisfied, skipping upgrade: PyOpenGL==3.1.0 in /home/xjy/.local/lib/python2.7/site-packages (from pyrender->visualization) (3.1.0)
Requirement already satisfied, skipping upgrade: funcsigs>=1; python_version < "3.3" in /home/xjy/.local/lib/python2.7/site-packages (from mock->matplotlib<=2.2.0->visualization) (1.0.2)
Requirement already satisfied, skipping upgrade: decorator>=4.3.0 in /home/xjy/.local/lib/python2.7/site-packages (from networkx->trimesh[easy]->visualization) (4.4.2)
Requirement already satisfied, skipping upgrade: future in /home/xjy/.local/lib/python2.7/site-packages (from pyglet; extra == "easy"->trimesh[easy]->visualization) (0.18.2)
Requirement already satisfied, skipping upgrade: mpmath>=0.19 in /usr/local/lib/python2.7/dist-packages/mpmath-1.1.0-py2.7.egg (from sympy; extra == "easy"->trimesh[easy]->visualization) (1.1.0)
Requirement already satisfied, skipping upgrade: dill>=0.3.1 in /usr/local/lib/python2.7/dist-packages/dill-0.3.1.1-py2.7.egg (from multiprocess->autolab_core->visualization) (0.3.1.1)
Requirement already satisfied, skipping upgrade: keras-applications>=1.0.6 in /home/xjy/.local/lib/python2.7/site-packages (from keras->autolab_perception->visualization) (1.0.8)
Requirement already satisfied, skipping upgrade: h5py in /home/xjy/.local/lib/python2.7/site-packages (from keras->autolab_perception->visualization) (2.5.0)
Requirement already satisfied, skipping upgrade: pyyaml in /usr/lib/python2.7/dist-packages (from keras->autolab_perception->visualization) (3.11)
Requirement already satisfied, skipping upgrade: keras-preprocessing>=1.0.5 in /home/xjy/.local/lib/python2.7/site-packages (from keras->autolab_perception->visualization) (1.1.0)
Requirement already satisfied, skipping upgrade: traitlets>=4.2 in /home/xjy/.local/lib/python2.7/site-packages (from ipython==5.5.0->autolab_perception->visualization) (4.3.3)
Requirement already satisfied, skipping upgrade: backports.shutil-get-terminal-size; python_version == "2.7" in /home/xjy/.local/lib/python2.7/site-packages (from ipython==5.5.0->autolab_perception->visualization) (1.0.0)
Requirement already satisfied, skipping upgrade: pathlib2; python_version == "2.7" or python_version == "3.3" in /home/xjy/.local/lib/python2.7/site-packages (from ipython==5.5.0->autolab_perception->visualization) (2.3.5)
Requirement already satisfied, skipping upgrade: setuptools>=18.5 in /home/xjy/.local/lib/python2.7/site-packages (from ipython==5.5.0->autolab_perception->visualization) (41.0.0)
Requirement already satisfied, skipping upgrade: pexpect; sys_platform != "win32" in /home/xjy/.local/lib/python2.7/site-packages (from ipython==5.5.0->autolab_perception->visualization) (4.8.0)
Requirement already satisfied, skipping upgrade: prompt-toolkit<2.0.0,>=1.0.4 in /home/xjy/.local/lib/python2.7/site-packages (from ipython==5.5.0->autolab_perception->visualization) (1.0.18)
Requirement already satisfied, skipping upgrade: simplegeneric>0.8 in /home/xjy/.local/lib/python2.7/site-packages (from ipython==5.5.0->autolab_perception->visualization) (0.8.1)
Requirement already satisfied, skipping upgrade: pickleshare in /home/xjy/.local/lib/python2.7/site-packages (from ipython==5.5.0->autolab_perception->visualization) (0.7.5)
Requirement already satisfied, skipping upgrade: pygments in /usr/lib/python2.7/dist-packages (from ipython==5.5.0->autolab_perception->visualization) (2.1)
Requirement already satisfied, skipping upgrade: Cython>=0.17 in /home/xjy/.local/lib/python2.7/site-packages (from h5py->keras->autolab_perception->visualization) (0.29.17)
Requirement already satisfied, skipping upgrade: ipython-genutils in /home/xjy/.local/lib/python2.7/site-packages (from traitlets>=4.2->ipython==5.5.0->autolab_perception->visualization) (0.2.0)
Requirement already satisfied, skipping upgrade: scandir; python_version < "3.5" in /home/xjy/.local/lib/python2.7/site-packages (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython==5.5.0->autolab_perception->visualization) (1.10.0)
Requirement already satisfied, skipping upgrade: ptyprocess>=0.5 in /home/xjy/.local/lib/python2.7/site-packages (from pexpect; sys_platform != "win32"->ipython==5.5.0->autolab_perception->visualization) (0.6.0)
Requirement already satisfied, skipping upgrade: wcwidth in /home/xjy/.local/lib/python2.7/site-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython==5.5.0->autolab_perception->visualization) (0.1.9)
@jeffmahler @manuelli @mmatl @Binaryhalibut Thank you for your time if you'd like to help.
Also, I can't display grasps for object.
dexnet.api INFO Displaying grasps for gripper yumi_metal_spline on object vase
Grasp 92 robust_ferrari_canny=0.00741
Display grasps failed: global name 'mlab' is not defined
You can get rid of bgcolor error by changing the line 603 in dexnet/src/dexnet/api.py.
From:
vis.figure(bgcolor=(1,1,1), size=(1000,1000))
To:
vis.figure(bg_color=(1,1,1), size=(1000,1000))
You can get rid of bgcolor error by changing the line 603 in dexnet/src/dexnet/api.py. From:
vis.figure(bgcolor=(1,1,1), size=(1000,1000))
To:vis.figure(bg_color=(1,1,1), size=(1000,1000))
Thanks! it works to me :+1:
Using: Ubuntu 16.04, ROS-Kinetic
All 15 tests are OK when running sudo python setup.py test. Log from dexnet_cli.py:
I guess it's because of my matplotlib. But I checked the version matplotlib==1.4.3 should be fine. So I really don't know what wrong, can anybody help me with it?