Skip to content

Specify tensorflow version 1.15.0 to prevent some errors#27

Open
colus001 wants to merge 1 commit intofarzaa:masterfrom
colus001:patch-1
Open

Specify tensorflow version 1.15.0 to prevent some errors#27
colus001 wants to merge 1 commit intofarzaa:masterfrom
colus001:patch-1

Conversation

@colus001
Copy link

@colus001 colus001 commented Dec 18, 2019

  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.

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.
  ```
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

Successfully merging this pull request may close these issues.

1 participant