kentonl / e2e-coref

End-to-end Neural Coreference Resolution
Apache License 2.0
524 stars 173 forks source link

Can't find coref_kernells.so #38

Closed theanhle closed 6 years ago

theanhle commented 6 years ago

Could you show me where the 'coref_kernels.so' file is?

Traceback (most recent call last): File "train.py", line 10, in <module> import coref_model as cm File "/home/theanh/git/e2e-coref/coref_model.py", line 17, in <module> import coref_ops File "/home/theanh/git/e2e-coref/coref_ops.py", line 8, in <module> coref_op_library = tf.load_op_library("./coref_kernels.so") File "/home/theanh/anaconda3/envs/coref/lib/python3.6/site-packages/tensorflow/python/framework/load_library.py", line 58, in load_op_library lib_handle = py_tf.TF_LoadLibrary(library_filename, status) File "/home/theanh/anaconda3/envs/coref/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 516, in __exit__ c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.NotFoundError: ./coref_kernels.so: cannot open shared object file: No such file or directory

kentonl commented 6 years ago

You need to run setup_all.sh to compile the kernel and generate coref_kernels.so. Have you tried that?

theanhle commented 6 years ago

Thank you. It works well.

troublemaker-r commented 4 years ago

I use win10,how to run setup_all.sh? @kentonl

houliangxue commented 3 years ago

I use win10,how to run setup_all.sh? @kentonl I run run setup_all.sh on win 10, and have got coref_kernels.so,but this error still occurs。 How did you solve this problem?

troublemaker-r commented 3 years ago

I use win10,how to run setup_all.sh? @kentonl I run run setup_all.sh on win 10, and have got coref_kernels.so,but this error still occurs。 How did you solve this problem?

.so file should run on Linux