PointNetGPD is an end-to-end grasp evaluation model to address the challenging problem of localizing robot grasp configurations directly from the point cloud.
When i try to run render_images.py i get the following error
I tried to import this it in a shell python script. gives the same error. Tried reinstalling module 'visualization', upgrading/downgrading it. No luck :(
File "render_images.py", line 19, in
from visualization import Visualizer2D as vis
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/visualization/init.py", line 3, in
from .visualizer3d import Visualizer3D
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/visualization/visualizer3d.py", line 9, in
from pyrender import Scene, Mesh, Viewer, Node, MetallicRoughnessMaterial, TextAlign
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyrender/init.py", line 12, in
from .viewer import Viewer
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyrender/viewer.py", line 36, in
class Viewer(pyglet.window.Window):
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyglet/init.py", line 335, in getattrimport(import_name)
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyglet/window/init.py", line 131, in
import pyglet.window.event
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyglet/window/event.py", line 74
key.symbol_string(symbol), key.modifiers_string(modifiers)), file=self.file)
^
SyntaxError: invalid syntax
When i try to run render_images.py i get the following error I tried to import this it in a shell python script. gives the same error. Tried reinstalling module 'visualization', upgrading/downgrading it. No luck :(
File "render_images.py", line 19, in
from visualization import Visualizer2D as vis
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/visualization/init.py", line 3, in
from .visualizer3d import Visualizer3D
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/visualization/visualizer3d.py", line 9, in
from pyrender import Scene, Mesh, Viewer, Node, MetallicRoughnessMaterial, TextAlign
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyrender/init.py", line 12, in
from .viewer import Viewer
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyrender/viewer.py", line 36, in
class Viewer(pyglet.window.Window):
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyglet/init.py", line 335, in getattr
import(import_name)
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyglet/window/init.py", line 131, in
import pyglet.window.event
File "/home/ahmad3/anaconda2/envs/gpd/lib/python2.7/site-packages/pyglet/window/event.py", line 74
key.symbol_string(symbol), key.modifiers_string(modifiers)), file=self.file)
^
SyntaxError: invalid syntax