keras环境搭建
操作系统 : CentOS7.5.1804_x64
Python 版本 : 3.6.8
keras + tensorflow 环境搭建,使用cpu,安装命令如下:
virtualenv -p /usr/bin/python3.6 py36env source py36env/bin/activate pip install -r req.txt
req.txt 文件内容如下:
absl-py==0.7.1 astor==0.8.0 attrs==19.1.0 backcall==0.1.0 bleach==3.1.0 cycler==0.10.0 decorator==4.4.0 defusedxml==0.6.0 entrypoints==0.3 et-xmlfile==1.0.1 gast==0.2.2 google-pasta==0.1.7 graphviz==0.11.1 grpcio==1.22.0 h5py==2.9.0 interval==1.0.0 ipykernel==5.1.1 ipython-genutils==0.2.0 ipywidgets==7.5.0 jdcal==1.4.1 jedi==0.14.1 Jinja2==2.10.1 joblib==0.13.2 jsonschema==3.0.1 jupyter==1.0.0 jupyter-client==5.3.1 jupyter-console==6.0.0 jupyter-core==4.5.0 Keras==2.2.4 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.0 kiwisolver==1.1.0 Markdown==3.1.1 MarkupSafe==1.1.1 matplotlib==3.1.1 mistune==0.8.4 nbconvert==5.5.0 nbformat==4.4.0 numpy==1.16.2 openpyxl==2.6.2 pandas==0.24.2 pandocfilters==1.4.2 parso==0.5.1 pexpect==4.7.0 pickleshare==0.7.5 pkg-resources==0.0.0 prometheus-client==0.7.1 prompt-toolkit==2.0.9 protobuf==3.9.0 ptyprocess==0.6.0 pydot==1.4.1 Pygments==2.4.2 pyparsing==2.4.0 pyrsistent==0.15.3 python-dateutil==2.8.0 pytz==2019.1 PyYAML==5.1.1 pyzmq==18.0.2 qtconsole==4.5.1 scikit-learn==0.21.2 scipy==1.3.0 Send2Trash==1.5.0 six==1.12.0 sklearn==0.0 tensorboard==1.14.0 tensorflow==1.14.0 tensorflow-estimator==1.14.0 termcolor==1.1.0 terminado==0.8.2 testpath==0.4.2 traitlets==4.3.2 wcwidth==0.1.7 webencodings==0.5.1 Werkzeug==0.15.4 widgetsnbextension==3.5.0 wrapt==1.11.2