使用inception-V3批处理文件retrain.bat进行预训练时,发现报错“Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try…”于是打开retrain.py文件,在前面加上如下代码:
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import Inte