Tensorflow 2.1 with CUDA10.2 warnings ..

Assuming you are installing tensorflow from pip, you will need CUDA 10.1 and TRT 6 rather than CUDA 10.2 and TRT 7. See 使用 pip 安装 TensorFlow