The problem is as follows:
E:\project\dl\python\keras>python keras_sample.py
Using Theano backend.
Traceback (most recent):
File "keras_sample.py", line 8, <module>
From Keras.preprocessing.image import Imagedatagenerator
File "D:\Program files\python_3.5\lib\site-packages\keras\preprocessing\image.py", line 9, <module>
From scipy import Ndimage
File "D:\Program files\python_3.5\lib\site-packages\scipy\ndimage\__init__.py", line 161, <module>
From. Filters Import *
File "D:\Program files\python_3.5\lib\site-packages\scipy\ndimage\filters.py", line Notoginseng, in <module>
From Scipy.misc import Doccer
File "D:\Program files\python_3.5\lib\site-packages\scipy\misc\__init__.py", line Wuyi, in <module>
From scipy.special import comb, factorial, factorial2, Factorialk
File "D:\Program files\python_3.5\lib\site-packages\scipy\special\__init__.py", line 627, <module>
From. _ufuncs Import *
Importerror:dll load failed: The specified module could not be found.
This issue is caused by improper installation of scipy .
The steps to properly install scipy are as follows:
1. Download the Visual C + + redistributable Packages.
python3.5 Download version 2015:
https://www.microsoft.com/en-us/download/details.aspx?id=48145
2. Download NUMPY-1.11.0+MKL-CP35-CP35M-WIN32.WHL
Note the version and platform, it is recommended to install the 32 version by default, including Python is also best loaded 32bit.
: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
3. Download SCIPY-0.17.0-CP35-NONE-WIN32.WHL
Address and notes Ibid.
Install NumPy and scipy in order with PIP.
It's hard to get deep learning under windows, and Python's installation of various packages is always a hassle.
Python or Linux is a better point.
SciPy incorrectly installing an issue that cannot be found by the report DLL