tensorflow.python.framework.errors_impl.NotFoundError: ./renderer/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrESs
See original GitHub issuewhen I run “python demo.py”, I get this error, the detail message is:
Traceback (most recent call last):
File "demo.py", line 12, in <module>
from face_decoder import Face3D
File "/home/ly/yanyan/Deep3DFaceReconstruction/face_decoder.py", line 10, in <module>
from renderer import mesh_renderer
File "/home/ly/yanyan/Deep3DFaceReconstruction/renderer/mesh_renderer.py", line 25, in <module>
from renderer import rasterize_triangles
File "/home/ly/yanyan/Deep3DFaceReconstruction/renderer/rasterize_triangles.py", line 30, in <module>
rasterize_triangles_module = tf.load_op_library('./renderer/rasterize_triangles_kernel.so')
File "/home/ly/.conda/envs/deep3d/lib/python3.6/site-packages/tensorflow/python/framework/load_library.py", line 60, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: ./renderer/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrESs
I suspect the problem is about the file " rasterize_triangles_kernel.so ". I just download the pre-compiled binary file (rasterize_triangles_kernel.so), but I’m sure my tensorflow version is 1.12.
Your help would be highly appreciated.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
NotFoundError: When trying to import tensorflow in a high ...
I just got access to a hpc cluster through my university and i ran into this error when trying to import tensorflow to...
Read more >Tensorflow op library problems after update - Google Groups
TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.NotFoundError: /path/to/mylib.so: undefined symbol: _ZTIN10tensorflow8OpKernelE
Read more >Undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrESs
Hi I am getting following error while training the bot NotFoundError: ...
Read more >[MSDN Redirect] tf-sentencepiece Error - Microsoft Q&A
I've been getting tf framework error due to tf-sentencepiece lib that I'm ... /_sentencepiece_processor_ops.so.1.14.0: undefined symbol: ...
Read more >Undefined symbol error occured when I use TVMDSOOp
I tried to learn TVMDSOOp so I build TVM with set(USE_TF_TVMDSOOP ON) in ... had problem about undefined symbol: tensorflow.python.framework.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, the pre-compiled binary file only works if you install tensorflow 1.12 via pip install and use cuda 9.0. If you install tensorflow via conda with other version of cudatoolkit, you have to compile tf_mesh_renderer from source using bazel.
@YuDeng Thank you for the response. I downgraded to the TensorFlow version=1.12 and the demo ran successfully.