这是因为tensorflow版本问题。 tensorflow-GPU=1.11.0支持cuda9,不支持cuda10.0。 以下是linux上版本对应关系(https://www.tensorflow.org/install/source):