Skip to content
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

Error running pre-trained: coref_kernels.so: undefined symbol #25

Closed
amir-zeldes opened this issue Jun 1, 2018 · 3 comments
Closed

Comments

@amir-zeldes
Copy link

I'm running into a problem running the pre-trained setup on Ubuntu, Python 2.7, TF==1.0.0:

e2e-coref$ python demo.py final
Traceback (most recent call last):
  File "demo.py", line 14, in <module>
    import coref_model as cm
  File "/home/ghost/e2e_coref/e2e-coref/coref_model.py", line 10, in <module>
    import coref_ops
  File "/home/ghost/e2e_coref/e2e-coref/coref_ops.py", line 4, in <module>
    coref_op_library = tf.load_op_library("./coref_kernels.so")
  File "/home/ghost/.local/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 64, in load_op_library
    None, None, error_msg, error_code)
tensorflow.python.framework.errors_impl.NotFoundError: ./coref_kernels.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringB5cxx11Ev
@mcjoshi
Copy link

mcjoshi commented Jul 14, 2018

I am getting the same error. @amir-zeldes did you found any solution to this ??

Got it fixed :)

@kentonl
Copy link
Owner

kentonl commented Jul 15, 2018

The latest TF version requires a different set of commands to compile custom ops. The latest commit fixes that.

@kentonl kentonl closed this as completed Jul 15, 2018
@herbertchen1 herbertchen1 mentioned this issue Jul 26, 2018
@ereday
Copy link

ereday commented Jun 12, 2019

I am getting the same error. @amir-zeldes did you found any solution to this ??

Got it fixed :)

@mcjoshi, if you still remember, could you explain how you fixed it ? (I'm also trying it on TF 1.0.0 and Cuda8.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants