followmejoy-LM

Installation

Before installing Keras, please install one of its backend engines: TensorFlow, Theano, or CNTK. We recommend the TensorFlow backend.

You may also consider installing the following optional dependencies:

  • cuDNN (recommended if you plan on running Keras on GPU). (已安装)
  • HDF5 and h5py (required if you plan on saving Keras models to disk). (sudo pip install h5py)
  • graphviz and pydot (used by visualization utilities to plot model graphs). (sudo apt install python-pydot python-pydot-ng graphviz )

Then, you can install Keras itself. There are two ways to install Keras:

  • Install Keras from PyPI (recommended):
sudo pip install keras

If you are using a virtualenv, you may want to avoid using sudo: (在创建的tensorflow虚拟环境下安装)

pip install keras

分类:

技术点:

相关文章:

  • 2021-05-12
  • 2021-09-01
  • 2021-08-16
  • 2022-02-12
  • 2021-08-07
  • 2021-10-10
  • 2021-12-06
  • 2021-10-30
猜你喜欢
  • 2021-12-03
  • 2021-12-03
  • 2021-09-26
  • 2021-12-03
  • 2021-06-20
  • 2021-11-21
相关资源
相似解决方案