, OpenCV (cv2) tensorflow
dışa aktarımından sonra içeri aktarılıyorsa alıyorum. NelerImportError: dlopen: statik TLS ile başka bir nesneyi yükleyemiyor
[email protected]:~/Downloads/opencv-2.4.13/release$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> from tensorflow.contrib.session_bundle import exporter
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcurand.so locally
>>>
herhangi bir fikir:
[email protected]:~/Downloads/opencv-2.4.13/release$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from tensorflow.contrib.session_bundle import exporter
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcurand.so locally
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen: cannot load any more object with static TLS
>>>
Ancak tersi gayet güzel çalışıyor?
http://stackoverflow.com/questions/14892101/cannot-load-any-more-object-with-static-tls, bunun anlamı, ikisinden birinin doğru yolla bağlantılı olmadığı anlamına gelir (-fPIC ile birlikte)). OpenCV veya Tensorflow ile ilgili bir sorun olabilir. Http://stackoverflow.com/questions/1340402/how-can-i-tell-with-something- like-objdump-if-an-object-file-made-built-wi adresindeki talimatları takip edebilirsiniz. olduğu yerde çalışın ve rapor verin. –