Tensorflow运行报错:tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:220] Unexpected Event status: 1

在跑keras上的代码时突然报错:tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:220] Unexpected Event status: 1
跑了一下以前的代码都是跑的出来的,所以应该不是GPU配置的问题。
可能是因为keras上提供的代码是需要联网的,然后学院楼的校园网有时候会变得很差劲,导致断网啥的。更换了热点之后再重新跑就可以显示出结果了。
Tensorflow运行报错:tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:220] Unexpected Event status: 1