Keras floods Jupyter cell output during fit (verbose=1)

后端 未结 3 1999
南旧
南旧 2021-01-05 11:34

When running keras model inside Jupyter notebook with \"verbose=1\" option, I started getting not single line progress status updates as before, but a flood of status lines

3条回答
  •  粉色の甜心
    2021-01-05 12:22

    After a few tests I found that the error is related to tqdm import. Tqdm was used in a piece of code which was later rewritten withoout it. Even though I was not using tqdm in this notebook, just having it imported affected the keras output. To fix it I just commented out this line: from tqdm import tqdm and everything went fine, with nice keras progress bars. Not sure how exactly it conflicted with keras though...

提交回复
热议问题