kentonl/e2e-coref

problem in compiling g++ command in setup_all.sh on google colab

Opened this issue · 2 comments

abb4s commented

hi
in running setup_all.sh this error raised:

`coref_kernels.cc:3:10: fatal error: tensorflow/core/framework/op.h: No such file or directory
#include "tensorflow/core/framework/op.h"

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.`

I did all steps before setup_all.sh.

I'm also unable to run setup_all.sh. Despite trying a variety of different versions for tensorflow and tensorflow-gpu as specified in the requirements.txt, I get the same error posted above by abb4s. Why is C code being called at all if the only requirements is tensorflow's python package? Are you forgetting to tell us that setup_all.sh uses the Tensorflow C++ API, or why is setup_all.sh necessary prior to using minimize.py? Documentation needs bulking up throughout.

Interestingly, when I installed tensorflow 1.12.0 and I QUIT OUT OF PyCharm and/or Terminal session and reopened and reran setup_all.sh, it worked.