I am trying to import the module keras.utils.data_utils but its not working. However, I can find this module here. It is indeed existing. Why I cannot import it while I can import some other modules likekeras.models and keras.layers.core?
cliu@cliu-ubuntu:bin$ python
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import print_function
>>> from keras.models import Sequential
>>> from keras.layers.core import Dense, Activation, Dropout
>>> from keras.layers.recurrent import LSTM
>>> from keras.utils.data_utils import get_file
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named data_utils
Edit:
See here for the answer.
python-3.xtag if you are clearly using vs 2.7? and can you justimport keraswithout error? - Tadhg McDonald-Jensenpip install kerasit did not appear to install with that module, but when i downloaded the zip and didpython setup.py installit installed correctly - Tadhg McDonald-Jensenkerasother modules like what I have edited in the question. - fluency03import keras.datasets.data_utils, although expect that to change considering the github - Tadhg McDonald-Jensen