- Hands-On Deep Learning Architectures with Python
- Yuxi (Hayden) Liu Saransh Mehta
- 170字
- 2021-06-24 14:48:13
Installing TensorFlow CPU
We mentioned earlier that TensorFlow is not currently stable with Python 3.7. Therefore, we will use Conda to install TensorFlow rather than using pip. Conda deals with it in a unique way. As soon as you issue the following command to install TensorFlow, Conda also downloads and installs the other required packages. It also restores Python to the version with which TensorFlow is known to be stable, say Python 3.6.8! Type the following commands into the Terminal window (except the mentioned comments) to install TensorFlow CPU:
# go to the deep_learning directory
cd deep_learning
# activate the environment
conda activate test_env
# install TensorFlow CPU
conda install tensorflow
After the installation, you can run Python to check whether Conda has restored the version or not.
The commands mentioned are as per the time of publishing this book. You must know that the libraries and repositories keep on changing. In case the commands don't work properly, it is advised to check for the latest updates from the source.
推薦閱讀
- GNU-Linux Rapid Embedded Programming
- 集成架構(gòu)中型系統(tǒng)
- 高性能混合信號ARM:ADuC7xxx原理與應(yīng)用開發(fā)
- Windows 8應(yīng)用開發(fā)實戰(zhàn)
- 工業(yè)機器人工程應(yīng)用虛擬仿真教程:MotoSim EG-VRC
- 深度學(xué)習(xí)中的圖像分類與對抗技術(shù)
- iClone 4.31 3D Animation Beginner's Guide
- Statistics for Data Science
- 計算機組網(wǎng)技術(shù)
- Excel 2007終極技巧金典
- 會聲會影X4中文版從入門到精通
- 漢字錄入技能訓(xùn)練
- 自適應(yīng)學(xué)習(xí):人工智能時代的教育革命
- Mastering Machine Learning with R
- EDA技術(shù)及其創(chuàng)新實踐(Verilog HDL版)