最有可能的是因为 GPU已经被占用

Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 解决方式

如图四块GPU已经被占用时会有如上报错 

或者是因为RTX显卡不兼容它出生前的接口有关。  解决办法:在要执行的python文件添加如下代码即可。

from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession

config = ConfigProto()
config.gpu_options.allow_growth = True
session = InteractiveSession(config=config)
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2021-05-01
  • 2022-12-23
  • 2021-07-23
  • 2021-10-26
  • 2022-12-23
猜你喜欢
  • 2022-01-03
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2021-08-02
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案