2018年5月31日 星期四

煙火攝影 從入門到進階


投影片連結:煙火攝影

How to install Nvidia Driver, CUDA, cuDNN, Tensorflow on Ubuntu 16.04

Versions:
Ubuntu 16.04
Nvidia 384.130
CUDA 9.0
cuDNN 7.0.5
TensorFlow 1.8.0

Installation Order:
Nvidia Driver -> CUDA -> cuDNN -> Tensorflow
Notice that the version between CUDA, cuDNN and Tensorflow should be matched.

1. Install Nvidia Driver
Install Nvidia Driver via Ubuntu GUI
System Settings/ Software & Updates/ Additional Drivers,select "Using NVIDIA binary driver ...",not "...Nouveau..."

2. Upgrade the system, and reboot if required.
run the following command
$ sudo apt update
$ sudo apt upgrade
$ [ -e /var/run/reboot-required ] && sudo reboot