问题描述
stream 直到完成才阻塞主机;已经处于错误状态如何修复它 使用 tensorflow keras
model.compile(
optimizer="adam",loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),metrics=['acc'])
model.fit(X_train_scaled,y_train,epochs=5)
出现这个错误
解决方法
重新启动笔记本为我解决了这个问题。如果这不能解决问题,您可以尝试更新 GPU 驱动程序。
此外,GitHub 上也提供了类似的问题:Link to the Issue