Another sad experience with cuda.
- Tensorflow compiling with cuda just doesn’t work when I suspend my machine. (Error: GPU cannot be found.)
- Tried to reinstall tensorflow again…FAILED!
- Tried to restart the PC…WORKED!
- However, I met this error again:https://github.com/zengarden/light_head_rcnn/issues/9
- Tried to change:
- /home/xiaoxu/Documents/tf_install/venv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/util/cuda_device_functions.h
- line 32:
- -#”cuda/include/cuda.h”
- +#include “cuda.h”
- line 32:
- /home/xiaoxu/Documents/tf_install/venv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h
- line 24:
- -#”cuda/include/cuda_fp16.h”
- +#include “cuda_fp16.h”
- line 24:
- /home/xiaoxu/Documents/tf_install/venv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/util/cuda_device_functions.h
- Tried to change:
- Then, I recompiled cuda functions, and got all-zero outputs.
- I forgot to switch cuda9.0(default) to cuda 10.0, switch to cuda 10.0…WORKED!