Q1:InvalidArgumentError (see above for traceback): Cannot assign a device for operation ‘IteratorGetNext’: Could not satisfy explicit device specification ‘/device:GPU:0’ because no supported kernel for GPU devices is available.
A1:sess = tf.Session(config=tf.ConfigProto(allow_soft_placement=True, log_device_placement=True))
解决tensorflow的问题
最新推荐文章于 2022-09-17 09:29:21 发布