[英]How to prevent printing predict_proba() output in Keras?
I am using predict_proba()
in Keras for thousand of times, and after each use it prints the following: 我在
predict_proba()
使用了predict_proba()
千次了,每次使用后都会打印以下内容:
1/1 [==============================] - 0s
I wonder how I can prevent it from printing this. 我想知道如何防止它打印出来。 Thank you :)
谢谢 :)
将verbose=0
传递到predict_proba
以关闭详细输出。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.