I can import caffe, and use the ctpb module successfully, but when i want to import both ctpn and crnn modules, there is a error;
raceback (most recent call last):
File "", line 1, in
File "/data/resys/lvyi/exp/OCR_detect/CTPN/caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver
File "/data/resys/lvyi/exp/OCR_detect/CTPN/caffe/python/caffe/pycaffe.py", line 13, in
from ._caffe import Net, SGDSolver
ImportError: dlopen: cannot load any more object with static TLS
i guess it is a conflict between caffe and torch?
i tried to change the order of import torch and caffe, but it dosen't work.
I can import caffe, and use the ctpb module successfully, but when i want to import both ctpn and crnn modules, there is a error;
raceback (most recent call last): File "", line 1, in
File "/data/resys/lvyi/exp/OCR_detect/CTPN/caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver
File "/data/resys/lvyi/exp/OCR_detect/CTPN/caffe/python/caffe/pycaffe.py", line 13, in
from ._caffe import Net, SGDSolver
ImportError: dlopen: cannot load any more object with static TLS
i guess it is a conflict between caffe and torch? i tried to change the order of import torch and caffe, but it dosen't work.