Face-Super-Resolution-Guided-by-3D-Facial-Priors icon indicating copy to clipboard operation
Face-Super-Resolution-Guided-by-3D-Facial-Priors copied to clipboard

Run demo_render.py error

Open TREASUREPPY opened this issue 4 years ago • 11 comments

Sorry to interrupt again, I used the pre-trained model you provided to run demo_render.py and the following error occurred: InvalidArgumentError (see above for traceback): RasterizeTriangles expects vertices to have shape (-1, 3). [[node render/map/while/RasterizeTriangles (defined at /home/zx/Pan/3D-Facial-Priors/3Dface_priors/demo_render.py:42) = RasterizeTriangles[image_height=224, image_width=224, _device="/job:localhost/replica:0/task:0/device:CPU:0"](render/map/while/strided_slice, render/map/while/RasterizeTriangles/Enter)]] My tensorflow version is 1.12.0, ubuntu16.4 system. Request guidance, thank you.

TREASUREPPY avatar Feb 05 '21 14:02 TREASUREPPY

Thanks for your attention. the version of tensorflow is 1.4.1. You can downgrade your version.

HUuxiaobin avatar Feb 05 '21 16:02 HUuxiaobin

Thank you for your reply. I will try it tomorrow-------- 原始邮件 --------发件人: "Xiaobin HU(kevin)" [email protected]日期: 2021年2月6日周六 00:04收件人: HUuxiaobin/Face-Super-Resolution-Guided-by-3D-Facial-Priors Face-Super-Resolution-Guided-by-3D-Facial-Priors@noreply.github.com抄送: TREASUREPPY [email protected], Author [email protected]主 题: Re: [HUuxiaobin/Face-Super-Resolution-Guided-by-3D-Facial-Priors] Run demo_render.py error (#4) Thanks for your attention. the version of tensorflow is 1.4.1. You can downgrade your version.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

TREASUREPPY avatar Feb 05 '21 16:02 TREASUREPPY

@HUuxiaobin I adjusted tensorflow version 1.4.1, but an error was reported when running demo_render.py: tensorflow.python.framework.errors_impl.NotFoundError: ./faceReconstruction/mesh_render/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow15OpKernelStatusEtxFailureEPKciRK

When I compile with the method in the tf_mesh_renderer_installation.txt file, I keep getting errors. The rasterize_triangles_kernel.so file you provided, when I used it directly, I also reported an error saying that this file could not be found. I ask for your guidance, I really appreciate it. This is my WeChat account: TREAY_SURE, I look forward to it if you are willing to communicate with me.

TREASUREPPY avatar Feb 06 '21 11:02 TREASUREPPY

@HUuxiaobin I adjusted tensorflow version 1.4.1, but an error was reported when running demo_render.py: tensorflow.python.framework.errors_impl.NotFoundError: ./faceReconstruction/mesh_render/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow15OpKernelStatusEtxFailureEPKciRK

When I compile with the method in the tf_mesh_renderer_installation.txt file, I keep getting errors. The rasterize_triangles_kernel.so file you provided, when I used it directly, I also reported an error saying that this file could not be found. I ask for your guidance, I really appreciate it. This is my WeChat account: TREAY_SURE, I look forward to it if you are willing to communicate with me.

Thanks for your feedback. Unpredictable error occurred. There is one solution: To get our /3Dface_priors/faceReconstruction/, please download from google driver https://drive.google.com/file/d/1ZMW7kyfCJyM6EROWRkcbJE3HGn6tvBdM/view?usp=sharing

HUuxiaobin avatar Feb 06 '21 12:02 HUuxiaobin

@HUuxiaobin Thank you for the resources provided, demo_render.py is ready to run .

TREASUREPPY avatar Feb 06 '21 23:02 TREASUREPPY

@HUuxiaobin Thank you! I've run the code successfully.

wytcsuch avatar Feb 08 '21 02:02 wytcsuch

I am using tensorflow version 1.4.1. Downloaded the faceReconstruction file from the google drive and placed it in the 3Dface_prior folder. Still getting this error: NotFoundError: ./faceReconstruction/mesh_render/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow15OpKernelContext10CtxFailureEPKciRKNS_6StatusE Please help me with this. Thank you

Shailza88 avatar Feb 12 '21 09:02 Shailza88

I am using tensorflow version 1.4.1. Downloaded the faceReconstruction file from the google drive and placed it in the 3Dface_prior folder. Still getting this error: NotFoundError: ./faceReconstruction/mesh_render/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow15OpKernelContext10CtxFailureEPKciRKNS_6StatusE Please help me with this. Thank you

Have you solved this quetion? I have the same problem.

Loreaks avatar May 30 '21 17:05 Loreaks

Hi, No, I didn't get to solve the problem.

On Sun, May 30, 2021, 11:29 PM Loreaks @.***> wrote:

I am using tensorflow version 1.4.1. Downloaded the faceReconstruction file from the google drive and placed it in the 3Dface_prior folder. Still getting this error: NotFoundError: ./faceReconstruction/mesh_render/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow15OpKernelContext10CtxFailureEPKciRKNS_6StatusE Please help me with this. Thank you

Have you solved this quetion? I have the same problem.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/HUuxiaobin/Face-Super-Resolution-Guided-by-3D-Facial-Priors/issues/4#issuecomment-851037667, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALVV6YMBA3UOXARBPVXCNMLTQJ4IDANCNFSM4XE3FHIA .

Shailza88 avatar May 31 '21 06:05 Shailza88

Thank you for your reply!

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年5月31日(星期一) 下午2:41 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HUuxiaobin/Face-Super-Resolution-Guided-by-3D-Facial-Priors] Run demo_render.py error (#4)

Hi, No, I didn't get to solve the problem.

On Sun, May 30, 2021, 11:29 PM Loreaks @.***> wrote:

> I am using tensorflow version 1.4.1. Downloaded the faceReconstruction > file from the google drive and placed it in the 3Dface_prior folder. Still > getting this error: > NotFoundError: > ./faceReconstruction/mesh_render/rasterize_triangles_kernel.so: undefined > symbol: _ZN10tensorflow15OpKernelContext10CtxFailureEPKciRKNS_6StatusE > Please help me with this. Thank you > > Have you solved this quetion? I have the same problem. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <" rel="noopener" target="_blank">https://github.com/HUuxiaobin/Face-Super-Resolution-Guided-by-3D-Facial-Priors/issues/4#issuecomment-851037667>;, > or unsubscribe > <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/ALVV6YMBA3UOXARBPVXCNMLTQJ4IDANCNFSM4XE3FHIA>; > . >

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Loreaks avatar Jun 01 '21 01:06 Loreaks

I am using tensorflow version 1.4.1. Downloaded the faceReconstruction file from the google drive and placed it in the 3Dface_prior folder. Still getting this error: NotFoundError: ./faceReconstruction/mesh_render/rasterize_triangles_kernel.so: undefined symbol: _ZN10tensorflow15OpKernelContext10CtxFailureEPKciRKNS_6StatusE Please help me with this. Thank you

Could you tell me how you solved the problem of "undefined symbol: "

byf01 avatar Oct 26 '22 08:10 byf01