modinfo nvidia
cat /usr/local/cuda/version.txt
def partition(A, start, end): | |
pivot = A[end] | |
pIndex = start | |
for i in range(start, len(A)): | |
if A[i] < pivot: | |
A[i], A[pIndex] = A[pIndex], A[i] | |
pIndex += 1 | |
A[pIndex], A[end] = A[end], A[pIndex] |
# Create a new repository on the command line | |
touch README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/mohapatras/python.git | |
git push -u origin master | |
# Push an existing repository from the command line |
$ ls -l /usr/local/cuda-10.1/lib64/libcurand* | |
lrwxrwxrwx 1 root root 15 Aug 22 02:49 /usr/local/cuda-10.1/lib64/libcurand.so -> libcurand.so.10 | |
lrwxrwxrwx 1 root root 21 Aug 22 02:49 /usr/local/cuda-10.1/lib64/libcurand.so.10 -> libcurand.so.10.1.168 | |
-rwxr-xr-x 1 root root 59812280 Aug 22 02:49 /usr/local/cuda-10.1/lib64/libcurand.so.10.1.168 | |
-rw-r--r-- 1 root root 59842274 Aug 22 02:49 /usr/local/cuda-10.1/lib64/libcurand_static.a | |
$ echo $LD_LIBRARY_PATH | |
/usr/local/cuda-10.1/lib64: |
This is a companion piece to my instructions on building TensorFlow from source. In particular, the aim is to install the following pieces of software
on an Ubuntu Linux system, in particular Ubuntu 20.04.
I had many driver installed I my virtual machine , so It was actually the reason why I was having the error.
To fix it I had first to remove all driver I have installed before using :
sudo apt-get purge nvidia-*
sudo apt-get update
-sudo apt-get autoremove
After that I when a head and installed the latest version of it nvidia driver:
I did :
import numpy as np | |
from sklearn.metrics import roc_curve | |
def sensivity_specifity_cutoff(y_true, y_score): | |
'''Find data-driven cut-off for classification | |
Cut-off is determied using Youden's index defined as sensitivity + specificity - 1. | |
Parameters | |
---------- |