I was using tensorflow-gpu=1.14, I had to update it to newer version. So I uninstalled it and remove the conda environment and recreated a new conda
conda