Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how could hide the predict progress bar

enter image description here

when I use tensorflow==2.9 to predict the model , I got the progress bar, but I don't want to display this progress bar, how could hide this progress bar? It make me very angry.

like image 457
Rose Li Avatar asked May 09 '26 20:05

Rose Li


1 Answers

Yes, this behaviour has changed since tensorflow v2.9. In v2.8 default value for verbose=0. However since v2.9 it is set to auto. Have a look here to understand different verbose options. So,

Simply use model.predict(x, verbose=0)

And it should fix it.

like image 164
thushv89 Avatar answered May 11 '26 14:05

thushv89



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!