- Keras Deep Learning Cookbook
- Rajdeep Dua Manpreet Singh Ghotra
- 171字
- 2021-06-10 19:38:47
Installing Keras
conda-forge is a GitHub entity with a repository of conda recipes.
- Next, we will install Keras using conda from conda-forge
- Execute the following command on the Terminal:
conda install -c conda-forge keras
The following listed output will confirm that Keras is installed:
Fetching package metadata .............
Solving package specifications: .
Package plan for installation in environment /home/ubuntu/miniconda2:
The following new packages will also be installed:
h5py: 2.7.1-py27_2 conda-forge
hdf5: 1.10.1-1 conda-forge
keras: 2.0.9-py27_0 conda-forge
libgfortran: 3.0.0-1
pyyaml: 3.12-py27_1 conda-forge
Proceed ([y]/n)? y
libgfortran-3. 100% |#############################################################| Time: 0:00:00 35.16 MB/s
hdf5-1.10.1-1. 100% |#############################################################| Time: 0:00:00 34.26 MB/s
pyyaml-3.12-py 100% |#############################################################| Time: 0:00:00 60.08 MB/s
h5py-2.7.1-py2 100% |#############################################################| Time: 0:00:00 58.54 MB/s
keras-2.0.9-py 100% |#############################################################| Time: 0:00:00 45.92 MB/s
- Let's verify the Keras installation with the following code:
$ python
Python 2.7.14 |Anaconda, Inc.| (default, Oct 16 2017, 17:29:19)
- Execute the following command to verify that Keras has been installed:
> from keras.models import Sequential
Using TensorFlow backend.
>>>
Notice that Keras is using the TensorFlow backend.
推薦閱讀
- 電氣自動化專業英語(第3版)
- TIBCO Spotfire:A Comprehensive Primer(Second Edition)
- Mobile DevOps
- JMAG電機電磁仿真分析與實例解析
- 3D Printing for Architects with MakerBot
- 分數階系統分析與控制研究
- 智能鼠原理與制作(進階篇)
- 工業機器人實操進階手冊
- 項目實踐精解:C#核心技術應用開發
- PostgreSQL High Performance Cookbook
- 傳感技術基礎與技能實訓
- 軟件測試管理
- 從實踐中學嵌入式Linux操作系統
- 信息技術基礎應用
- Learning Kibana 7(Second Edition)