-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build tf_mesh_renderer error #3
Comments
I had solved it. |
I've got the same issue. How did you solve it? |
@hflserdaniel 我直接说中文吧,英文说着不好准确表达怎么解决这问题。 |
Hi, Can you describe your way to solve this problem in english (or you can contact with me in telegram @kirizhik)? @ZhengMengbin |
And is it possible for u, to share your colab notebook(if you are running it there) @ZhengMengbin |
@KirillR911 This problem is mainly caused by not finding |
Thank's, but now i'm facing this error FULL:
but when i am trying to |
Well from now i can't even get access to this file, getting error: that is after installing through project reqs, when i am instlalling myself, |
@KirillR911 Can you find 'libtensorflow_framework.so.x' or 'libtensorflow_framework.so'? |
@ZhengMengbin |
你好,通过这个方案解决了找不到.so文件的问题,但是编译仍然失败,提示undefined symbol,可能和bazel版本有?我是直接通过conda install安装了0.29.1版本的bazel,可以请教下你安装的过程和版本吗? |
@hflserdaniel 版本没有太大问题,是因为bazel生成的.so文件不会存放在作者指定的路径下(见作者指定的路径,你可以修改这个路径到生成的.so路径下,或者移动/复制生成的librasterize_triangles_impl.so和rasterize_triangles_kernel.so到这个路径下,生成到.so文件应该在xx/tf_mesh_renderer/bazel-tf_mesh_renderer/mesh_renderer/kernels或者xx/tf_mesh_renderer/bazel-bin/mesh_renderer/kernels下,你仔细找一找,不一定完全是我说的路径) |
感谢回复!将所述位置的so文件放入指定路径中,老问题仍然存在。具体描述:rasterize_triangles_impl_test通过,其余报错,日志提示 |
@hflserdaniel 编译c/c++的工具gcc版本的问题,你看看你的gcc版本是否大于4(命令 |
你好,你的问题解决了吗,我也出现一样的错误 |
我也遇到了一样的问题。我自己的环境是tensorflow 1.12,升级到1.14重新链接一下前面的.so,再编译就都通过了。 |
您好,我按照上述的方法怎么编译都有问腿,麻烦您能提供一下编译后的rasterize_triangles_kernel.so文件嘛?万分感谢。邮箱:[email protected] |
不好意思。这个我测试的效果比较一般,生成人脸抖动的很厉害,所以已经删掉了。你可以再尝试一下 |
万分感谢回复,请问您有遇到下面这个问题嘛?ERROR:tf_mesh_renderer/mesh_renderer/kernels/BUILD:20:1: Executing genrule //mesh_renderer/kernels:rasterize_triangles_kernel failed (Exit 127) bash failed: error executing command /bin/bash -c … (remaining 1 argument(s) skipped),多有叨扰,万分感谢! |
我好像没有遇到这个问题,我把自己遇到的问题和解决方法邮件回复您了,您可以参考一下。 |
万分感谢,我遇到了以下问题,您能给我一些参考回答吗 我的邮箱是[email protected] |
I've the same issue in colab
|
Maybe you should try tensorflow-gpu=1.14.0. It works in my case. |
|
tf_mesh_renderer provided by the author can be used normally in tensorflow-gpu==1.12.0.
You don't have to compile it.
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2021年4月18日(星期天) 凌晨0:56
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [yiranran/Audio-driven-TalkingFace-HeadPose] build tf_mesh_renderer error (#3)
I've the same issue in colab
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/load_library.py", line 58, in load_op_library lib_handle = py_tf.TF_LoadLibrary(library_filename) tensorflow.python.framework.errors_impl.NotFoundError: /content/gdrive/My Drive/Audio-driven-TalkingFace-HeadPose/Deep3DFaceReconstruction/tf_mesh_renderer/mesh_renderer/kernels/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrESs
try to change -D_GLIBCXX_USE_CXX11_ABI = 1 but not work
try to install !pip install tensorflow==2.2.0 ,tensorflow-text==2.2.0 and didn't work
Can you give me some help?
Maybe you should try tensorflow-gpu=1.14.0. It works in my case.
i am try this and not work
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@Msj5 thx for reply but I did not understand what you mean |
I solve this problem by assign :
Under |
ln: failed to create symbolic link 'libtensorflow_framework.so': File exists After following above-mentioned suggestions, I face this problem. Please, can you give any solutions? |
请问解决了吗?我在windows上安装mesh_renderer也遇到了不支持windows的情况。我下载源码使用mingw编译,然后报了相同的错误,问题是我在上面的提示命令行中发现路径是正确的、op.h也确实存在 |
这个你咋解决的?我也被这个报错折磨中。。。 |
When I bulit tf_mesh_renderer using runtests.sh, it failed:
Can you give me some help?
I use two codes to build bazel-2.2.0 as follows:
chmod +x bazel-<version>-installer-linux-x86_64.sh
./bazel-<version>-installer-linux-x86_64.sh --user
The text was updated successfully, but these errors were encountered: