问题描述:
Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
在代码开头输入以下代码即可解决:
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
config = ConfigProto()
config.gpu_options.allow_growth = True
session = InteractiveSession(config=config)
测试: