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

AttributeError: '_thread._local' object has no attribute 'value' #86

Open
programandoconro opened this issue Dec 21, 2019 · 0 comments
Open

Comments

@programandoconro
Copy link

Exception in thread prediction_worker:
Traceback (most recent call last):
File "/usr/lib64/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "src/chess_zero/agent/api_chess.py", line 67, in _predict_batch_worker
policy_ary, value_ary = self.agent_model.model.predict_on_batch(data)
File "/usr/local/lib64/python3.7/site-packages/keras/engine/training.py", line 1575, in predict_on_batch
if self._uses_dynamic_learning_phase():
File "/usr/local/lib64/python3.7/site-packages/keras/engine/training.py", line 382, in _uses_dynamic_learning_phase
not isinstance(K.learning_phase(), int))
File "/usr/local/lib64/python3.7/site-packages/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 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

1 participant