Comments (3)
I am also meet the same errror.Have you solved it? I am running Win10.
from e2e-coref.
I could not get the .so building as well (@mengzhi7, could you even get g++ to build from the .cc operation file?)
On windows, it seems like a complicated task, ensuring that all tensorflow includes and library files are there (for gpu ops also all cuda files needed for building). Essentially creating coref_kernels.so is a extension (python wrapper file) that has new tensorflow functionality and needs to be build from source , which is nearly as complicated as building tensorflow from source. See https://www.tensorflow.org/guide/create_op?hl=en
Even on linux, I could get a .so file, but it does not seem compatible with win again. Check the -I and-L flags for the build command for g++, the paths must point to the right sources (in the setup_all.sh the variables for the paths stem from where the python executable (when using venv, check if it is using the correct interpreter path) finds them via
TF_CFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))') )
TF_LFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_link_flags()))') )
As far as I can tell, one would have to build tensorflow completely from source, with the custom operation appended. See all the failed attempts at this user with loading/building an ops: https://stackoverflow.com/questions/50967670/g-fails-to-build-custom-tensorflow-gpu-op-on-windows-from-installed-binaries
Couldn't we just have the so files ready compiled (depends on tensorflow and (cuda) version i guess, so several variants would be needed)? Its really a frustration if one is not a programmer and just wants to try the model ... ending up compiling tensorflow which is really not an easy task ... I think one needs bezel instead of g++ maybe even cmake, but guides on building custom kernels are not easy to follow for me.
from e2e-coref.
@chrisoutwright Hi, have you solved this problem? Can it run on windows? Hope to get your reply, thank you very much!
from e2e-coref.
Related Issues (20)
- error when running setup_training
- Hardware requirements to compile this project (training, evaluating)
- error in ceafe metric
- How can I use this in a Jupyter Notebook?
- Link for pretrained models (including `glove_50_300_2.txt`) down HOT 4
- How to allocate GPU wth E2E method HOT 6
- About pruning spans
- requirements.txt is broken HOT 3
- elmo_cache.hdf5 HOT 23
- tensorflow.python.framework.errors_impl.NotFoundError: ./coref_kernels.so: undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrESs HOT 2
- Running evaluate.py doesn't give you three metrics, it gives you a loss, right?
- KeyError: 'bc/cctv/00/cctv_0000_1' HOT 2
- pretrained model not loadable HOT 1
- unzip: cannot find zipfile directory in one of glove.840B.300d.zip or glove.840B.300d.zip.zip, and cannot find glove.840B.300d.zip.ZIP, period.
- 1-dimensional CNN embeddigs.
- Cannot reproduce the best results from the provided pretrained model
- Tensorflow2
- Custom training data for e2e-coref
- could not find the gold parse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from e2e-coref.