microsoft / Deep3DFaceReconstruction

Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set (CVPRW 2019)
MIT License
2.18k stars 443 forks source link

tensorflow.python.framework.errors_impl.NotFoundError: ./renderer/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv #120

Open Kenny-Li2023 opened 3 years ago

Kenny-Li2023 commented 3 years ago

tensorflow.python.framework.errors_impl.NotFoundError: ./renderer/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv

image

How can I solve this problem?

YuDeng commented 3 years ago

Seems that your tensorflow version is incompatible with the tf_mesh_renderer. Did you follow the instruction in the readme to install tf_mesh_renderer?

Kenny-Li2023 commented 3 years ago

Seems that your tensorflow version is incompatible with the tf_mesh_renderer. Did you follow the instruction in the readme to install tf_mesh_renderer?

I followed the instructions, but I am not sure if I have installed tf_mesh_renderer, can you teach me how to install it correctly.

Ishve commented 3 years ago

Seems that your tensorflow version is incompatible with the tf_mesh_renderer. Did you follow the instruction in the readme to install tf_mesh_renderer?

I followed the instructions, but I am not sure if I have installed tf_mesh_renderer, can you teach me how to install it correctl Follow the below steps carefully

Getting Started Testing Requirements Reconstructions can be done on both Windows and Linux. However, we suggest running on Linux because the rendering process is only supported on Linux. Python 3.6 (numpy, scipy, pillow, argparse). Tensorflow 1.12. Basel Face Model 2009 (BFM09). Expression Basis (transferred from Facewarehouse by Guo et al.). The original BFM09 model does not handle expression variations so extra expression basis are needed. tf mesh renderer (an older version). We use the library to render reconstruction images. Note that the rendering tool can only be used on Linux.

LunaMK commented 3 years ago

tensorflow.python.framework.errors_impl.NotFoundError: ./renderer/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv

image

How can I solve this problem?

Did you solve it ?

fisakhan commented 3 years ago

I think the only problem is dependency on Tensorflow 1.12. Its a petty that someone is still using TensorFlow==1.12 when we have TensorFlow==2.25.