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

Support the new version of Keras 2.4 #43

@PhilkaUA

Description

@PhilkaUA

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'

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