Training on GPU - Cuda Unknown error

I am trying to run my training on a GPU (GTX 1050) and getting this error. Failed to get device attribute 13 for device 0: CUDA_ERROR_UNKNOWN: unknown error

Tensorflow version 1.14.0

How do I overcome this?

It is most likely related to your installation. Try reinstalling all TensorFlow packages.