tranluan / Nonlinear_Face_3DMM

Source code for "Nonlinear 3D Face Morphable Model"
http://cvlab.cse.msu.edu/project-nonlinear-3dmm.html
Apache License 2.0
676 stars 124 forks source link

Error in running rendering_example.py : undefined symbol: _ZN10tensorflow12OpDefBuilder5InputESs #54

Open HOMGH opened 4 years ago

HOMGH commented 4 years ago

When I try to run the rendering_example.py code, I get the following error:

undefined symbol: _ZN10tensorflow14kernel_factory17OpKernelRegistrar12InitInternalEPKNS_9KernelDefEN4absl11string_viewESt10unique_ptrINS0_15OpKernelFactoryESt14default_deleteIS8_EE

Is there anything wrong with compiling the ./compile_op_v2_sz224.sh??? Any advice is appreciated!

Dooonut commented 4 years ago

I have the same problem, and I solve it as follows: 1.Open the file /TF_newop/compile_op_v2_sz224.sh 2.Notice the first line "for Anaconda user, please use -D_GLIBCXX_USE_CXX11_ABI=1 (instead of -D_GLIBCXX_USE_CXX11_ABI=0)" 3.Modify it in line 8 and it works ps: I use tf v1.14 and anaconda.

HOMGH commented 4 years ago

I have the same problem, and I solve it as follows: 1.Open the file /TF_newop/compile_op_v2_sz224.sh 2.Notice the first line "for Anaconda user, please use -D_GLIBCXX_USE_CXX11_ABI=1 (instead of -D_GLIBCXX_USE_CXX11_ABI=0)" 3.Modify it in line 8 and it works ps: I use tf v1.14 and anaconda.

Thanks @Dooonut . yeah, that's right! Could you train their system? I'm about to train it. but I have heard that it couldn't converge at all.

Dooonut commented 4 years ago

I have the same problem, and I solve it as follows: 1.Open the file /TF_newop/compile_op_v2_sz224.sh 2.Notice the first line "for Anaconda user, please use -D_GLIBCXX_USE_CXX11_ABI=1 (instead of -D_GLIBCXX_USE_CXX11_ABI=0)" 3.Modify it in line 8 and it works ps: I use tf v1.14 and anaconda.

Thanks @Dooonut . yeah, that's right! Could you train their system? I'm about to train it. but I have heard that it couldn't converge at all.

I'm still trying. I'll let you know if I have any progress.

HOMGH commented 4 years ago

I have the same problem, and I solve it as follows: 1.Open the file /TF_newop/compile_op_v2_sz224.sh 2.Notice the first line "for Anaconda user, please use -D_GLIBCXX_USE_CXX11_ABI=1 (instead of -D_GLIBCXX_USE_CXX11_ABI=0)" 3.Modify it in line 8 and it works ps: I use tf v1.14 and anaconda.

Thanks @Dooonut . yeah, that's right! Could you train their system? I'm about to train it. but I have heard that it couldn't converge at all.

I'm still trying. I'll let you know if I have any progress.

Thanks!