-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Installation problems (TF bindings) #59
Comments
EDIT: Tried with python2 and python3, and tried on two computers, (local one and workstation). Problem persists. |
I faced same issue, and I found this link.
Put this line into your |
I manage to fix it by using what you recommended. (in CMakeList.txt and additionally in setup.py since there is also without that flag). If I use it within tensorflow code it works fine, however unit tests still fail with error:
|
FWIW, I ran into this issue too. I just dropped down to Ubuntu 14.04 (from 16.04), and that solved this (and other) issues. |
I ran into the same problem, added the flag and submitted a pull request but nobody seems to be looking at it. |
Hi there, We are also getting the same error as mentioned by nmiculinic. Is there is fix? if yes, please share. Thx |
@nmiculinic The same things happed to me. The unittest failed at the end, though the mid-process said the tests have been passed. |
The same error too. |
@bidai541 it did works!! thx |
I face the same problem. When I add as bidai541 suggested, it seems to work. But When I run python setup.py test. it failed with:KeyError: "Registering two gradient with name 'WarpCTC' !(Previous registration was in run_commands /usr/lib/python3.5/distutils/dist.py:955)" |
@bidai541 It works and thanks for the solution. And by this I assume this error is caused by gcc5, therefore downgrading to Ubuntu14.04 works too in @dylanbfox 's case as gcc4 is installed in U14.04 meanwhile gcc5 is set as default in U16.04. |
@bidai541 |
@nmiculinic Have you solved this error? If yes, how to do that ? |
@hookover Root path, pull again! |
I follow the guidelines above to change the compiler settings in both setup.py and CMakeLists.txt. However, it didn't change anything. I still have the same error when I run the tests: NotFoundError: /home/ekonishi/warp-ctc/tensorflow_binding/warpctc_tensorflow/kernels.so: undefined symbol: _ZTIN10tensorflow8OpKernelE Note that I've successfully compiled and installed tensorflow 1.4 in a virtual environment. |
I'm trying to install tensorflow binding and have followed the steps:
cloned tf repo (without building it, tf is installed via pip)
Sucessfully installed package.
It fails on tests:
Ls of directory in question:
The text was updated successfully, but these errors were encountered: