Tensorflow GPU 报错Function call stack: distributed_function
Tensorflow GPU 报错Function call stack: distributed_function
在用tensorflow训练网络时,报错Function call stack:distributed_function
可以程序之前添加如下代码解决:
physical_devices = tf.config.experimental.list_physical_devices('GPU')
assert len(physical_devices)