-
Notifications
You must be signed in to change notification settings - Fork 616
File not found during import #792
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
Comments
Try moving out of the source directory if you're still in it. If you import while in the source directory you'll get this error because the compile .so files are not present in the local directory |
Thanks for quick reply!
Could it be an incompatibility problem with TF 2.1.0? |
That's an ABI incompatibility. Part of the build we're working to make easier, but ultimately the fix will come from: tensorflow/community#133 Are you compiling TF-Core from source as well? If so make sure you're using the same build environment (gcc, cxx11 flag, etc.) Closing but feel free to continue discussion in this thread. |
@iskorini as a quick test could you edit the |
Same results, so I tried to rebuild tensorflow (RC 2.1) from source and TFAddons with the same environment but nothing change.
.bazelrc from tf:
tf_configure.bazelrc:
environment variable for tf: |
Thanks @iskorini for your help troubleshooting this issue. Would you mind trying to build this GPU custom op on the same system setup: That'll greatly help us going forward. |
System information
Describe the bug
When I try to import tensorflow addons I have an exception about a not found file. If I print path of that file in
load_library.py
gave me/data/students_home/fschipani/thesis/addons/tensorflow_addons/custom_ops/activations/_activation_ops.so
.So I searched
_activation_ops.so
in my home folder and I found it in/anaconda3/envs/new_thesis/lib/python3.7/site-packages/tensorflow_addons/custom_ops/activations/_activation_ops.so
Code to reproduce the issue
Other info / logs
The text was updated successfully, but these errors were encountered: