报错 UnknownError: Failed to get convolution algorithm
gpu改成按需分配
gpu = tf.config.experimental.list_physical_devices(device_type='GPU')[0]
tf.config.experimental.set_memory_growth(gpu, True)
gpu改成按需分配
gpu = tf.config.experimental.list_physical_devices(device_type='GPU')[0]
tf.config.experimental.set_memory_growth(gpu, True)