Skip to content

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

@mijung-kim

Description

@mijung-kim

Please let us know which model this issue is about (specify the top-level directory)

I add 'import cv2' to use some image preprocessing functions and got the following error.

Traceback (most recent call last):
File "train_image_classifier.py", line 27, in
from preprocessing import preprocessing_factory
File "/home/mijung/BC/models/slim/preprocessing/preprocessing_factory.py", line 27, in
from preprocessing import bc_preprocessing
File "/home/mijung/BC/models/slim/preprocessing/bc_preprocessing.py", line 21, in
import cv2
ImportError: dlopen: cannot load any more object with static TLS

Anyone knows how to solve this?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions