-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
warpctc_tensorflow sometimes raises this error if it is imported after tensorflow imports another library that uses a *.so
file, like in the following case:
>>> import tensorflow.contrib.ffmpeg
>>> import warpctc_tensorflow
tensorflow.python.framework.errors_impl.NotFoundError: dlopen: cannot load any more object with static TLS
A temporary fix is to just import warpctc_tensorflow beforehand, which seems to not trigger the error.
>>> import warpctc_tensorflow
>>> import tensorflow.contrib.ffmpeg
This fix, however, is quite ugly, and often means importing warpctc_tensorflow
in the central main.py or train.py, as well as all associated test runners, etc. The actual ctc function is often only called in a small library function.
Metadata
Metadata
Assignees
Labels
No labels