Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try loo。。。。。 解决方法:指定gpu import os os.environ['CUDA_VISIBLE_DEVICES'] = '/gpu:0'