torch-toolbox icon indicating copy to clipboard operation
torch-toolbox copied to clipboard

ImportError: dlopen: cannot load any more object with static TLS

Open lalalalallalaladadada opened this issue 1 year ago • 1 comments

Hello, when I use cutout, the following error occurs: from torchtoolbox.transform import Cutout File "/anaconda3/envs/recognition/lib/python3.8/site-packages/torchtoolbox/transform/init.py", line 4, in from .transforms import * File "/anaconda3/envs/recognition/lib/python3.8/site-packages/torchtoolbox/transform/transforms.py", line 11, in from . import functional as F File "/anaconda3/envs/recognition/lib/python3.8/site-packages/torchtoolbox/transform/functional.py", line 6, in import cv2 File "/anaconda3/envs/recognition/lib/python3.8/site-packages/cv2/init.py", line 181, in bootstrap() File "/anaconda3/envs/recognition/lib/python3.8/site-packages/cv2/init.py", line 153, in bootstrap native_module = importlib.import_module("cv2") File "/anaconda3/envs/recognition/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: dlopen: cannot load any more object with static TLS

lalalalallalaladadada avatar Mar 31 '23 19:03 lalalalallalaladadada

It looks like a cv2 import error

PistonY avatar Apr 01 '23 05:04 PistonY