Linux下安裝任意版本的tensorflow命令
終端或命令列下輸入:
sudo pip install \ -i https://pypi.tuna.tsinghua.edu.cn/simple/ \ https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/gpu/tensorflow_gpu-1.4.0-cp27-none-linux_x86_64.whl
上述只是一個樣例,安裝任意版本的tensorflow,只需修改相應的版本號,比如,我現在想下載tensorflow-1.0.0版本的:
sudo pip install \ -i https://pypi.tuna.tsinghua.edu.cn/simple/ \ https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/gpu/tensorflow_gpu-1.0.0-cp27-none-linux_x86_64.whl
如下:
測試是否安裝成功:
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
相關文章
- linux安裝tensorflow搭配那個版本的cuda和cudnn?LinuxDNN
- Linux 下Anaconda 安裝 Tensorflow 和 kerasLinuxKeras
- Ubuntu 16.04 安裝 Tensorflow Gpu版本UbuntuGPU
- 【浪子男孩】TensorFlow-GPU版本安裝教程GPU
- anaconda安裝gpu版本的tensorflow2.0.0教程GPU
- Linux Tensorflow2.0安裝Linux
- docker環境下安裝tensorflowDocker
- centos7下安裝tensorflowCentOS
- Windows10下tensorflow 1.8 CUDA GPU加速版本安裝幾個坑WindowsGPU
- oracle應該安裝在什麼版本的linux下OracleLinux
- 安裝指定版本Selenium命令
- linux命令安裝Linux
- Linux版本MongoDB安裝LinuxMongoDB
- linux下編譯安裝mysql5.5以上版本Linux編譯MySql
- Windows下的Memcache安裝 linux下的Memcache安裝WindowsLinux
- 在Ubuntu 18.04安裝tensorflow 1.12 GPU版本UbuntuGPU
- windows下安裝pip,強制升級pip,安裝tensorflowWindows
- Maven的安裝/2.2 Linux下的安裝MavenLinux
- Postgresql Linux版本安裝——RPM包安裝SQLLinux
- Linux 版本的 SQL Server 快速安裝LinuxSQLServer
- TensorFlow安裝
- 安裝TensorFlow
- linux下安裝多個版本的db2副本LinuxDB2
- Linux下查詢命令對應的RPM安裝包Linux
- 在Linux下安裝pyenv使Python多版本共存LinuxPython
- linux安裝rz和sz上傳下載命令Linux
- Linux命令列下載檔案和安裝RARLinux命令列
- 【Tensorflow_DL_Note1】Windows下Tensorflow的安裝過程詳解Windows
- Linux下的Nginx安裝LinuxNginx
- Linux下Apollo的安裝Linux
- linux下rar的安裝Linux
- linux 下oracle的安裝LinuxOracle
- Linux下怎麼安裝.deb格式的安裝包?Linux系統下.deb格式安裝包的安裝教程Linux
- Linux下檢視jdk安裝路徑版本、安裝jdk、配置環境變數LinuxJDK變數
- Linux命令之rpm安裝命令Linux
- Linux下安裝、解除安裝mysqlLinuxMySql
- oracle 10g在linux下的安裝及簡單命令Oracle 10gLinux
- linux解除安裝軟體的命令Linux