ImportError: No module named keras.prétraitement

Suivant le tutoriel:

http://www.pyimagesearch.com/2016/08/10/imagenet-classification-with-python-and-keras/#comment-419896

À l'aide de ces fichiers:

 https://github.com/fchollet/deep-learning-models

- Je obtenir séparer les 2 erreurs en fonction de la façon dont je l'execute:

Cours d'exécution dans PyCharm:

 Using TensorFlow backend.
 usage: test_imagenet.py [-h] -i IMAGE
 test_imagenet.py: error: the following arguments are required: -i/--image

Cours d'exécution en ligne de commande:

     C:\Users\AppData\Local\Programs\Python\Python35\Scripts>python deep-learning-models/test_imagenet.py --image deep-learning-models/images/dog.jpg
Traceback (most recent call last):
  File "deep-learning-models/test_imagenet.py", line 2, in <module>
    from keras.preprocessing import image as image_utils
ImportError: No module named keras.preprocessing

Comment puis-je le résoudre?

InformationsquelleAutor DJ Howarth | 2017-03-10