tensorflow / tensorflow

An Open Source Machine Learning Framework for Everyone
https://tensorflow.org
Apache License 2.0
182.91k stars 73.92k forks source link

_image_ops.so not found #67136

Open neonarc4 opened 1 week ago

neonarc4 commented 1 week ago

eucid = tfa.image.euclidean_dist_transform(gray) coming from tfa image ecudiean


    eucid = tfa.image.euclidean_dist_transform(gray)
  File "C:\Users\haide\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_addons\image\distance_transform.py", line 67, in euclidean_dist_transform
    output = _image_so.ops.addons_euclidean_distance_transform(images, dtype)
  File "C:\Users\haide\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_addons\utils\resource_loader.py", line 68, in ops
    self._ops = tf.load_op_library(
  File "C:\Users\haide\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\framework\load_library.py", line 54, in load_op_library
    lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: C:\Users\haide\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_addons\custom_ops\image\_image_ops.so not found
sushreebarsa commented 5 days ago

@neonarc4 If you are facing the error as "_image_ops.so not found" , it indicates that TensorFlow is unable to locate a required library file for image processing functionalities. Please try to reinstall TF with GPU support and follow the instructions here. Kindly fill the issue template for easy analysis of the issue. Thank you!