Coder Social home page Coder Social logo

I‘ve already set up this env and 'make' successfuly , but here comes the problem : tensorflow.python.framework.errors_impl.NotFoundError: /home/fudan/Desktop/wsl/DeepUPE/main/lib/hdrnet_ops.so: undefined symbol: _ZTIN10tensorflow8OpKernelE. What's going on? about deepupe HOT 14 OPEN

dvlab-research avatar dvlab-research commented on July 23, 2024 4
I‘ve already set up this env and 'make' successfuly , but here comes the problem : tensorflow.python.framework.errors_impl.NotFoundError: /home/fudan/Desktop/wsl/DeepUPE/main/lib/hdrnet_ops.so: undefined symbol: _ZTIN10tensorflow8OpKernelE. What's going on?

from deepupe.

Comments (14)

jiangxuetao0823 avatar jiangxuetao0823 commented on July 23, 2024

python 2.7 is needed

from deepupe.

yinyulin avatar yinyulin commented on July 23, 2024

my python is 2.7, but i get the same error
Traceback (most recent call last):
File "main/run.py", line 30, in
import models as models
File "/home/yunkepan/DeepUPE/main/models.py", line 21, in
from layers import (conv, fc, bilateral_slice_apply)
File "/home/yunkepan/DeepUPE/main/layers.py", line 20, in
import hdrnet_ops
File "/home/yunkepan/DeepUPE/main/hdrnet_ops.py", line 27, in
_hdrnet = tf.load_op_library(path)
File "/home/yunkepan/.local/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 61, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/yunkepan/DeepUPE/main/lib/hdrnet_ops.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

from deepupe.

YUSHENWU avatar YUSHENWU commented on July 23, 2024

Something like your GPUDevice is unavailable, not the same as when you make lib

from deepupe.

stezarpriansya avatar stezarpriansya commented on July 23, 2024

hello, anyone can help?

from deepupe.

pxEkin avatar pxEkin commented on July 23, 2024

need to link libtensorflow_framework.so

from deepupe.

yinyulin avatar yinyulin commented on July 23, 2024

need to link libtensorflow_framework.so
thankyou for your replay,I solved it by add
CFLAGS = -ltensorflow_framework
in Makefile

from deepupe.

pxEkin avatar pxEkin commented on July 23, 2024

need to link libtensorflow_framework.so
thankyou for your replay,I solved it by add
CFLAGS = -ltensorflow_framework
in Makefile

You might get another error, like "undefined symbol: _ZN10tensorflow15OpKernelContext21CtxFailureWithWarningENS_6StatusE", right??

from deepupe.

yinyulin avatar yinyulin commented on July 23, 2024

need to link libtensorflow_framework.so
thankyou for your replay,I solved it by add
CFLAGS = -ltensorflow_framework
in Makefile

You might get another error, like "undefined symbol: _ZN10tensorflow15OpKernelContext21CtxFailureWithWarningENS_6StatusE", right??

sorry I do not get the error above, but I got another error undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv, I solved it by change -D_GLIBCXX_USE_CXX11_ABI=0, hopes it help

from deepupe.

pxEkin avatar pxEkin commented on July 23, 2024

need to link libtensorflow_framework.so
thankyou for your replay,I solved it by add
CFLAGS = -ltensorflow_framework
in Makefile

You might get another error, like "undefined symbol: _ZN10tensorflow15OpKernelContext21CtxFailureWithWarningENS_6StatusE", right??

sorry I do not get the error above, but I got another error undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv, I solved it by change -D_GLIBCXX_USE_CXX11_ABI=0, hopes it help

now, you can run and get right result?

from deepupe.

yinyulin avatar yinyulin commented on July 23, 2024

need to link libtensorflow_framework.so
thankyou for your replay,I solved it by add
CFLAGS = -ltensorflow_framework
in Makefile

You might get another error, like "undefined symbol: _ZN10tensorflow15OpKernelContext21CtxFailureWithWarningENS_6StatusE", right??

sorry I do not get the error above, but I got another error undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv, I solved it by change -D_GLIBCXX_USE_CXX11_ABI=0, hopes it help

now, you can run and get right result?

yes

from deepupe.

aaaaangel avatar aaaaangel commented on July 23, 2024

need to link libtensorflow_framework.so
thankyou for your replay,I solved it by add
CFLAGS = -ltensorflow_framework
in Makefile

You might get another error, like "undefined symbol: _ZN10tensorflow15OpKernelContext21CtxFailureWithWarningENS_6StatusE", right??

hello, I follow the steps you just said and got this error, "undefined symbol: _ZN10tensorflow15OpKernelContext21CtxFailureWithWarningENS_6StatusE". Could you please tell me then what should I do?

from deepupe.

aasharma90 avatar aasharma90 commented on July 23, 2024

Hi,

Anybody who has got it working can please share a few details? For e.g, the version of TensorFlow,, the Makefile, etc.? Despite getting the make process without any errors, and trying numerous workarounds available on internet, I'm still facing the same runtime problem -

I'm presently using TensorFlow1.4, Python2.7 and CUDA9.0

Make output -
image

Runtime error -
image

Thanks in advance!

from deepupe.

wenlerrr avatar wenlerrr commented on July 23, 2024

@aasharma90 Hello, I am facing the same issue too, did u solve it in the end?

from deepupe.

aasharma90 avatar aasharma90 commented on July 23, 2024

Hi @wenlerrr,

No, I couldn't get it working.

from deepupe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.