安装 Tensorflow Keras Opencv
# For a specific version:
!pip install tensorflow-gpu==1.5.0rc0
# To determine which version you're using:
!pip show tensorflow-gpu
# For the current version:
!pip install --upgrade tensorflow-gpu
# For the latest nightly build:
!pip install tf-nightly-gpu
!pip install -U tensorflow-gpu
!pip install -U keras
!pip install opencv-contrib-python --upgrade
- Keras: The Python Deep Learning library
- OpenCV
- An open-source software library for Machine Intelligence
Install 7zip reader libarchive
!pip install -U libarchive
Install GraphViz & PyDot
!pip install -U pydot graphviz
Install xgboost
!pip install -U xgboost
import tensorflow as tf
tf.keras # Keras 为 TensorFlow 提供了 API