You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 11, 2026. It is now read-only.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
TensorFlow version and how it was installed (source or binary): 2.1.0-dev20191220 binary
TensorFlow-Addons version and how it was installed (source or binary): 0.7.0 source
Python version: 3.7.5
Is GPU used? (yes/no): yes
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
importtensorflowastfimporttensorflow_addons
Other info / logs
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/data/students_home/fschipani/thesis/addons/tensorflow_addons/__init__.py", line 21, in <module>
from tensorflow_addons import activations
File "/data/students_home/fschipani/thesis/addons/tensorflow_addons/activations/__init__.py", line 21, in <module>
from tensorflow_addons.activations.gelu import gelu
File "/data/students_home/fschipani/thesis/addons/tensorflow_addons/activations/gelu.py", line 24, in <module>
get_path_to_datafile("custom_ops/activations/_activation_ops.so"))
File "/data/students_home/fschipani/anaconda3/envs/new_thesis/lib/python3.7/site-packages/tensorflow_core/python/framework/load_library.py", line 60, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /data/students_home/fschipani/thesis/addons/tensorflow_addons/custom_ops/activations/_activation_ops.so: cannot open shared object file: No such file or directory
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.pygave me/data/students_home/fschipani/thesis/addons/tensorflow_addons/custom_ops/activations/_activation_ops.so.So I searched
_activation_ops.soin my home folder and I found it in/anaconda3/envs/new_thesis/lib/python3.7/site-packages/tensorflow_addons/custom_ops/activations/_activation_ops.soCode to reproduce the issue
Other info / logs