[英]Getting the message 'Cleanup called...' repeatedly while training a model on kaggle. How can we get rid of this? (CNN model using Keras)
model.compile(optimizer='adam',loss='categorical_crossentropy', metrics=['accuracy'])
history = model.fit(train_data,epochs = 1,validation_data = test_data,verbose=1, callbacks =[earlystopping, csv_logger])
9/87606 [..............................] - ETA: 20:44 - loss: 0.2311 - accuracy: 0.8889
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
Cleanup called...
This is Actually a debugging message which is being displayed in Tensorflow.这实际上是在 TensorFlow 中显示的调试消息。 Try below code to disable it.
尝试下面的代码来禁用它。
import tensorflow as tf
tf.get_logger().setLevel('INFO')*
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.