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 importing lmbspecialops #3
Comments
Hi, Can you try to reproduce this in a virtualenv? |
Hi, I've tried both.
The error is again the same:
any idea..? EDIT: just in case, I've tried to install |
The symbol name looks strange. Can you try importing one of the libs that comes with tf? e.g. import os
import tensorflow as tf
tfroot = os.path.join(tf.sysconfig.get_lib(), '..')
imgops = tf.load_op_library(os.path.join(tfroot,'contrib/image/python/ops/_image_ops.so')) |
Someone who is getting the same error told me that this problem could be solved by using a newer cmake version. We are using: https://cmake.org/files/v3.7/cmake-3.7.1-Linux-x86_64.tar.gz |
Yes! But I've got this testing your example code:
|
From your output it looks like no code in Can you give me the import lmbspecialops
for k,v in lmbspecialops.__dict__.items():
print(k,v) |
Same error here. My configuration is: Linux Mint 18.1 Serena I changed However, I am back to the original error:
What version of TensorFlow are you guys running? |
Ok, I can import now and it executes the example. Thanks for your help!! |
Till now, tensorflow 1.2.1. |
We have used tensorflow versions 1.0, 1.1 and 1.2.1 with lmbspecialops. We didn't test 1.3 yet. @globalcaos did you try compiling lmbspecialops with tensorflow 1.2.1? The errors above seem to be either related to a |
Did you mean ccmake?? This is the output: BUILD_WITH_CUDA ON I will try to define the CUDA_SDK_ROOT_DIR |
If you run
|
You were right @benjaminum , the TensorFlow include path is wrong, because it should be pointing to the tensorflow installed under Python3: Here is what I get: How do I specify it to point to the other one? What if I change the symbolic link |
I guess the problem is the tensorflow version. |
Hello again, When I run test_LeakyRelu.py, I can see the message
Is it an issue with the driver? |
@globalcaos you can try to manually set the |
@marcobius Can you open a new issue if this does not solve the problem? |
Thanks @benjaminum , it was exactly what you say. |
Thanks @benjaminum , it filanny works! Things that did not work:
Things that worked:
Things that still bug me:
Hope it helps! |
Hi Guys, Just figured out the reason for this. Cheers! |
getting a similar issue:
I installed in virtual python3 with tensorflow-gpu....current download of demon. |
I met the same problem, and I install cmake 7.1. However, it didn't solve this problem. Could you please tell me how to deal with it? |
Hello I'm trying to install/use the library and I'm having some issues.
My configuration is:
Ubuntu 16.04 LTS
tensorflow 1.2.1
cmake 3.5.1
python 3.5.2
cuda 8.0.61
I've cloned your project into
~/src/lmbspecialops
and when I try to import the lib I get the error included bellow.Any help will be appreciated, I'm afraid I've used all my arsenal.
Thanks in advance.
The text was updated successfully, but these errors were encountered: