When using Keras in a Jupyter Notebook environment, during training my Notebook crashes. While running the fit function, apart from the normal training progress, a lot of squares appear. In fact, there are so many squares the browser crashes...
When running the same code in a normal terminal these squares do not appear.
Here is an example of the output:
Train on 33164 samples, validate on 8292 samples
Epoch 1/3
960/33164 [..............................] - ETA: 46s - loss: 0.1997 - acc: 0.9394
Hope anybody can help!
see this issue on github
in short 4 options :
verbose=0
or verbose=2
in fit()
, the first will not output anything, the second will only output one log line per epoch.I hope this helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.