Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lalalalallalaladadada opened this issue Mar 31, 2023 · 1 comment

Comments

@lalalalallalaladadada
Copy link

lalalalallalaladadada commented Mar 31, 2023

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

@PistonY
Copy link
Owner

PistonY commented Apr 1, 2023

It looks like a cv2 import error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants