DeepLeague icon indicating copy to clipboard operation
DeepLeague copied to clipboard

Specify tensorflow version 1.15.0 to prevent some errors

Open colus001 opened this issue 5 years ago • 0 comments

  1. Error while config
AttributeError: module 'tensorflow' has no attribute 'space_to_depth'
  1. Error while running test_deep_league.py
Using TensorFlow backend.
Traceback (most recent call last):
File "test_deep_league.py", line 152, in <module>
    sess = K.get_session()  # TODO: Remove dependence on Tensorflow session.
File "/Users/alma/opt/miniconda3/envs/DeepLeague/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 379, in get_session
    '`get_session` is not available '
RuntimeError: `get_session` is not available when using TensorFlow 2.0.

colus001 avatar Dec 18 '19 03:12 colus001