官术网_书友最值得收藏!

Keras for deep learning 

Keras is a Python based API that uses TensorFlow, CNTK, or Theano as backend for deep learning. Due to its high level API and simplified abstraction, it has been quite popular in the deep learning community. We will be using this library to study CNNs. To install this, first install TensorFlow as described in previous section, and use the following:

pip install keras

There is no separate version for GPU. For installing specific versions of Keras, such as Version 2.1.2, use following: 

pip install keras==2.1.2

The latest version of Keras at the time of writing this book is 2.1.2. To check the version of installed Keras, use:

python -c "import keras;print(keras.__version__)"

If TensorFlow is installed from previous sections, it will use it as backend.

To use Keras, one of the prerequisites is basic knowledge of deep learning. In this book, we will see it in Chapter 5, Convolutional Neural Networks.

主站蜘蛛池模板: 霍山县| 西盟| 靖西县| 安丘市| 芮城县| 邵武市| 达日县| 贺州市| 淳安县| 永修县| 东阳市| 印江| 锡林浩特市| 宁都县| 平果县| 敦煌市| 枣阳市| 马鞍山市| 泾阳县| 桦南县| 长乐市| 平谷区| 新野县| 科技| 稷山县| 乡城县| 徐州市| 梧州市| 松潘县| 酒泉市| 庆安县| 泰安市| 玛纳斯县| 沾益县| 中卫市| 阳谷县| 格尔木市| 简阳市| 科技| 高邑县| 弋阳县|