深度学习必备包

  1. 云栖社区>
  2. 博客>
  3. 正文

深度学习必备包

刘新伟 2018-01-10 19:19:00 浏览529
展开阅读全文

安装 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

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
探寻有趣之事!

网友评论

登录后评论
0/500
评论
刘新伟
+ 关注