“Failed to get convolution algor

2020-03-15  本文已影响0人  遇事不决_可问春风_
Failed to get convolution algorithm. This is probably because cuDNN failed to initialize.
so try looking to see if a warning log message was printed above. [Op:Conv2D]
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
config = ConfigProto()
config.gpu_options.allow_growth = True
session = InteractiveSession(config=config)
上一篇下一篇

猜你喜欢

热点阅读