I am training a CNN with CUDA 8. It runs well the first time, and then when I rerun the network again, I got an the following error:
failed call to cuInit: CUDA_ERROR_NO_DEVICE
then it will only run with CPU. I need to close down the jupyter notebook and deactivate the session. After that, when I rerun the network again, it well run fine with CUDA enabled.
What do you think the issue is and how can I fix it?