Deep3DFaceReconstruction
Deep3DFaceReconstruction copied to clipboard
import mesh_renderer error
python=3.6 , tensorflow=1.12, cuda=9.0 I used 'pip install mesh_renderer' to install mesh_renderer. Did anyone meet with this problem when import the mesh_renderer?
Can you try to use bazel to install tf mesh renderer? It seems that pip install is not stable for different environment.
I have tried to use bazel to install tf mesh renderer? but it always got some problems. firstly, I can't find the rasterize_trianales.so file. Then, I changed a library compiled by another person. but also suffered from the same questions?
You might have to locate the rasterize_trianales.so file in your computer, and then modify the path in tf.load_op_library to your custom path.
Yeah, I did that as your suggestions, but also got the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank you very much for your kind help!
Yeah, I did that as your suggestions, but also got the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank you very much for your kind help!
Have you solved the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank.
Yeah, I did that as your suggestions, but also got the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank you very much for your kind help!
Have you solved the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank.
I haven't solved!
Yeah, I did that as your suggestions, but also got the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank you very much for your kind help!
Have you solved the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank.
I haven't solved!
When compiling rasterize_triangles_kernel.so
, change g++ param -D_GLIBCXX_USE_CXX11_ABI=0
to -D_GLIBCXX_USE_CXX11_ABI=1
. This solves my problem.
Yeah, I did that as your suggestions, but also got the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank you very much for your kind help!
Have you solved the "undefined symbol:_ZN10tensorflow120pDefBuilder4AttrESs " error. Thank.
I haven't solved!
When compiling
rasterize_triangles_kernel.so
, change g++ param-D_GLIBCXX_USE_CXX11_ABI=0
to-D_GLIBCXX_USE_CXX11_ABI=1
. This solves my problem.
I change it but it makes another error, then I change tensorflow version to 1.15.2 and now it is ok. And the output .so file is in tf_mesh_render/bazel-bin/mesh_render/kernels/ .