Created
January 2, 2017 17:50
-
-
Save glyphx/ac0081a8b9f75784b569d673890da9dc to your computer and use it in GitHub Desktop.
Error you will get when you discover that keras uses a tensorflow backend by default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nobody@home MINGW64 /c/toolkits/keras-1.1.0 ((1.1.0)) | |
$ cd /c/toolkits/keras-1.1.0/examples/ | |
nobody@home MINGW64 /c/toolkits/keras-1.1.0/examples ((1.1.0)) | |
$ python mnist_cnn.py | |
Using TensorFlow backend. | |
Traceback (most recent call last): | |
File "mnist_cnn.py", line 12, in <module> | |
from keras.datasets import mnist | |
File "C:\toolkits\anaconda2-4.2.0\lib\site-packages\keras-1.1.0-py2.7.egg\keras\__init__.py", line 2, in <mo dule> | |
from . import backend | |
File "C:\toolkits\anaconda2-4.2.0\lib\site-packages\keras-1.1.0-py2.7.egg\keras\backend\__init__.py", line 6 4, in <module> | |
from .tensorflow_backend import * | |
File "C:\toolkits\anaconda2-4.2.0\lib\site-packages\keras-1.1.0-py2.7.egg\keras\backend\tensorflow_backend.p y", line 1, in <module> | |
import tensorflow as tf | |
ImportError: No module named tensorflow | |
nobody@home MINGW64 /c/toolkits/keras-1.1.0/examples ((1.1.0)) | |
$ conda list | grep -i keras | |
Keras 1.1.0 <pip> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment