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

keras depend tensorflow module #1

Open
ipsec opened this issue Nov 3, 2017 · 1 comment
Open

keras depend tensorflow module #1

ipsec opened this issue Nov 3, 2017 · 1 comment

Comments

@ipsec
Copy link
Contributor

ipsec commented Nov 3, 2017

Using TensorFlow backend.
Traceback (most recent call last):
File "/Users/fernando/Desenvolvimento/Projetos/alphago/alphago-zero.py", line 3, in
import keras
File "/Users/fernando/Desenvolvimento/VirtualEnvs/MCTS/lib/python3.6/site-packages/keras/init.py", line 3, in
from . import utils
File "/Users/fernando/Desenvolvimento/VirtualEnvs/MCTS/lib/python3.6/site-packages/keras/utils/init.py", line 6, in
from . import conv_utils
File "/Users/fernando/Desenvolvimento/VirtualEnvs/MCTS/lib/python3.6/site-packages/keras/utils/conv_utils.py", line 3, in
from .. import backend as K
File "/Users/fernando/Desenvolvimento/VirtualEnvs/MCTS/lib/python3.6/site-packages/keras/backend/init.py", line 83, in
from .tensorflow_backend import *
File "/Users/fernando/Desenvolvimento/VirtualEnvs/MCTS/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 1, in
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'

tensorflow is requirement to run your code
please update documentation

@che-shr-cat
Copy link
Owner

Hi,
Keras actually works with different backends, Tensorflow is just a one (yet most known).
I think these models do not use any features specific to Tensorflow.

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

2 participants