iT邦幫忙

2018 iT 邦幫忙鐵人賽
DAY 6
0
AI & Machine Learning

tensorflow python系列 第 6

DAY6 ubuntu於本機安裝GPU版Tensorflow (上)

前言:

由於運算速度問題 所以我這邊會教學如何安裝tensorflow gpu版本

安裝前置:

設定顯卡驅動:

https://ithelp.ithome.com.tw/upload/images/20171225/20107535DL7XUiclBy.png

更改為NVIDIA驅動

安裝cuDNN 6.0:

https://ithelp.ithome.com.tw/upload/images/20171225/20107535Cx9LzIya0m.png

下載完成後安裝

安裝CUDA8.0:

https://ithelp.ithome.com.tw/upload/images/20171225/20107535XzLxHu4RaM.png

下載完成後安裝

安裝時會有幾個詢問:

Do you accept the previously read EULA?
accept/decline/quit: accept

Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26?
(y)es/(n)o/(q)uit:n

Install the CUDA 8.0 Toolkit?
(y)es/(n)o/(q)uit:y

Enter Toolkit Location
 [ default is /usr/local/cuda-8.0 ]: /usr/local/cuda-8.0
 
Do you want to install a symbolic link at /usr/local/cuda?
(y)es/(n)o/(q)uit:y

Install the CUDA 8.0 Samples?
(y)es/(n)o/(q)uit:y

Enter CUDA Samples Location
 [ default is /home/user ]: /home/user

之後就完成啦

小結:

安裝到這邊 安裝tensorflow gpu版本的前置所需安裝東西已經結束了

明天繼續


上一篇
DAY5 ubuntu於本機安裝CPU版Tensorflow
下一篇
DAY7 ubuntu於本機安裝GPU版Tensorflow (下)
系列文
tensorflow python30

尚未有邦友留言

立即登入留言