检查您的TensorFlow安装是否支持GPU。您可以通过在Python中运行以下代码来检查TensorFlow是否支持GPU: import tensorflow as tf print(tf.config.list_physical_devices('GPU')) 复制代码 如果输出为[],则表示TensorFlow没有正确识别到GPU。您可能需要重新安装TensorFlow,并确保在安装时启用了GPU支持。 确保您的GPU驱动程序...
918228: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 我的环境 乌布努图 18 张量流 1.15.0/1.14.0 我的问题 我已经审查了类似的问题,例如 TensorFlow:对 cuInit 的调用失败:CUDA_ERROR_NO_DEVICE 关键区别是我没有安装 tensorflow-gpu 包。正常的 ...