我在带有一个 NVIDIA Tesla P4GPU 的 GCP 实例上运行 UNet Keras 模型。但它没有检测到 GPU。相反,它在 CPU 上运行。附:我安装了驱动程序和 tensorflow-gpu 购买它不会工作。如何解决这个问题?
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (instance-1): /proc/driver/nvidia/version does not exist
Num GPUs Available: 0
最佳答案
您需要先安装驱动程序。 Follow this instruction
关于tensorflow - 在 Keras 中未检测到 GCP GPU,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59472583/