Hi, I am new in tensorflow, and when I trying to import tensorflow_graphics.rendering.opengl.triangle_rasterizer, the following error shows:
import tensorflow as tf
import tensorflow_graphics.rendering.opengl.triangle_rasterizer as tr
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
in ()
1 import tensorflow as tf
----> 2 import tensorflow_graphics.rendering.opengl.triangle_rasterizer as tr
/home/linfang/.local/lib/python3.6/site-packages/tensorflow_graphics/rendering/opengl/triangle_rasterizer.py in ()
26 import tensorflow.compat.v2 as tf
27
---> 28 from tensorflow_graphics.rendering.opengl import gen_rasterizer_op as render_ops
29 from tensorflow_graphics.rendering.opengl import math as glm
30 from tensorflow_graphics.util import export_api
ImportError: cannot import name 'gen_rasterizer_op'
I am using Ubuntu 18.04, and version info:
tensorflow-gpu 2.2.0
tensorflow-graphics 2020.5.20
How can I solve it? Thanks a lot
Hi, I am new in tensorflow, and when I trying to import tensorflow_graphics.rendering.opengl.triangle_rasterizer, the following error shows:
I am using Ubuntu 18.04, and version info: tensorflow-gpu 2.2.0 tensorflow-graphics 2020.5.20 How can I solve it? Thanks a lot