Originally posted on: https://matheustguimaraes.com/blog/cuda-cudnn-ubuntu-installation
Update package lists, download and install NVIDIA driver
sudo apt-get update
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-410
| from matplotlib import animation | |
| import matplotlib.pyplot as plt | |
| import gym | |
| """ | |
| Ensure you have imagemagick installed with | |
| sudo apt-get install imagemagick | |
| Open file in CLI with: | |
| xgd-open <filelname> |
Update package lists, download and install NVIDIA driver
sudo apt-get update
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-410
| #include <cudnn.h> | |
| #include <cassert> | |
| #include <cstdlib> | |
| #include <iostream> | |
| #include <opencv2/opencv.hpp> | |
| #define checkCUDNN(expression) \ | |
| { \ | |
| cudnnStatus_t status = (expression); \ | |
| if (status != CUDNN_STATUS_SUCCESS) { \ |
As configured in my dotfiles.
start new:
tmux
start new with session name: