Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Support the new version of Keras 2.4 #43

Open
PhilkaUA opened this issue Apr 9, 2021 · 0 comments
Open

Support the new version of Keras 2.4 #43

PhilkaUA opened this issue Apr 9, 2021 · 0 comments

Comments

@PhilkaUA
Copy link

PhilkaUA commented Apr 9, 2021

Will there be an update to the library to support the new version of Keras 2.4?

I have encountered a problem that when I create a microservice based on deep segment and flask I get an error, which is based on the fact that Keras 2.3.1 does not work with multi threading

error that occurs looks like this:

File "/keras/engine/training.py", line 1452, in predict
    if self._uses_dynamic_learning_phase():
  File "/keras/engine/training.py", line 382, in _uses_dynamic_learning_phase
    not isinstance(K.learning_phase(), int))
  File "/keras/backend/tensorflow_backend.py", line 73, in symbolic_fn_wrapper
    if _SYMBOLIC_SCOPE.value:
AttributeError: '_thread._local' object has no attribute 'value'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant