- Hands-On Deep Learning Architectures with Python
- Yuxi (Hayden) Liu Saransh Mehta
- 207字
- 2021-06-24 14:48:13
Installing TensorFlow GPU
If you have a TensorFlow supported GPU, you can install TensorFlow GPU version to speed up your training process. TensorFlow provides support for NVIDIA CUDA enabled GPU cards. You can refer to the following link to check whether your GPU card is supported or not: https://www.tensorflow.org/install/gpu.
To install TensorFlow GPU version through native pip, one has to go through a list of tedious processes:
- Download and install the CUDA Toolkit for your operating system
- Download and install cuDNN library (to support deep learning computations in GPU)
- Add path variables for CUDA_HOME and CUDA Toolkit
- Install TensorFlow GPU through pip
Thankfully, however, Anaconda, have compiled everything in a single command—from compatible CUDA Toolkit, cuDNN library, to TensorFlow-GPU. If you already have TensorFlow CPU installed in the current environment, you can deactivate the environment and make a new environment for TensorFlow GPU. You can simply run the following command in your Conda environment and it will download and install everything for you:
# deactivate the environment
conda deactivate
# create new environment
conda create -n tf_gpu
#activate the environment
conda activate tf_gpu
# let conda install everything!
conda install tensorflow-gpu
Once you are done installing, it's time to test your installation!
- 虛擬儀器設計測控應用典型實例
- Hands-On Intelligent Agents with OpenAI Gym
- 離散事件系統建模與仿真
- Ceph:Designing and Implementing Scalable Storage Systems
- 項目管理成功利器Project 2007全程解析
- 在實戰中成長:C++開發之路
- Visual Studio 2010 (C#) Windows數據庫項目開發
- PLC與變頻技術應用
- 基于RPA技術財務機器人的應用與研究
- 機器學習案例分析(基于Python語言)
- Hands-On Microservices with C#
- Internet of Things with Raspberry Pi 3
- Photoshop CS4圖像處理考前12小時
- SketchUp 2014 for Architectural Visualization(Second Edition)
- Python Data Mining Quick Start Guide