I am Charmie

メモとログ

cudnn

Nvidiaのドライバを間違えてupgradeしちゃった時の対処

3行で nvidiaのドライバを削除 cuda関係のファイルを削除 再インストール 経緯 ubuntuのパッケージマネージャでupgradeをした時に,nvidiaのドライバをupgradeしてしまったっぽく,pytorchでcudaを使った処理ができなくて困った. (実は未だに)状況を完全に…

PyTorch 1.0 with CUDA 10.0 and cuDNN 7.5 on Ubuntu 18.04

This post describes how to setup PyTorch 1.0 with CUDA 10.0 and cuDNN 7.5 on Ubuntu 18.04. Step 0 uninstall CUDA 10.1 related components# uninstall PyTorchconda uninstall pytorch torchvision cudatoolkit# uninstall cuDNNsudo dpkg -r libcudn…

TensorFlow's DLL import error on windows

We need the appropriate cuDNN and this kind of import error occurred by missing the right version. See this release note. TensorFlow 1.3.0 (and other prebuilt binaries) have been built with cuDNN 6 and TensorFlow 1.4 with cuDNN 7. cuDNN in…