Error while import tensorflow module

后端 未结 6 1242
清酒与你
清酒与你 2020-12-02 01:04

I try to learn TensorFlow with Python. My problem is with import TF module. Here is my configuration: Python 3.6.1, Windows 7 (with MSVCP14

6条回答
  •  独厮守ぢ
    2020-12-02 01:36

    If you have a GPU in your system and it is conflicting with the current set of libraries or throwing a cudnn error then you can add the following line in your code to disable the GPU

    os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
    

    put this in your code and it should be fine.

提交回复
热议问题