This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check CUDA version | |
cat /usr/local/cuda/version.txt | |
Check CuDNN | |
cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2 | |
check tensorflow version | |
python3 -c 'import tensorflow as tf; print(tf.__version__)' | |
recover pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have followed this answer https://askubuntu.com/a/1056128 | |
$ uname -a | |
Linux melisa-pc 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux | |
$ cat /etc/os-release | |
NAME="Ubuntu" | |
VERSION="18.04.4 LTS (Bionic Beaver)" | |
ID=ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.lang.reflect.*; | |
/** | |
* Created by melisa on 31/05/2017. | |
*/ | |
class Person { | |
private String privateName; | |
public String publicName; | |
public Person friend; |