https://youtu.be/iH7whVK8fNk
0. Check your system environment
- Check your Ubuntu version
> lsb_release -a

- Check your CUDA, GPU driver is installed properly.
> nvidia-smi
> nvcc --version


- You also can check driver version on Software & Updates tool in Window.
- In my case, driver version is 460.80

Reference how to install CUDA on ubuntu:
- link1 : Installing CUDA 10.1 on Ubuntu 20.04
- link2 : Installing Tensorflow with CUDA & cuDNN GPU support on Ubuntu 20.04 and charge through your Linear Algebra calculations
1. Preparation