linux/tensorflow: failed call to cuDevicePrimaryCtxRetain: CUDA_ERROR_INVALID_DEVICE

Error reporting during CUDA training:

solution:
used during operation:

             CUDA_VISIBLE_DEVICES=-1 python train_single.py

[br] https://www.136.la/tech/show-629533.html

Read More: