0

Training a sequential model in a notebook gives very long output over the training epochs. How to suppress this output? Or how to general suppress outputs of a single Code-cell?

Scrabyard
  • 155
  • 1
  • 2
  • 10
  • Does this answer your question? [How do you suppress output in Jupyter running IPython?](https://stackoverflow.com/questions/23692950/how-do-you-suppress-output-in-jupyter-running-ipython) – krassowski May 08 '21 at 14:58
  • If you just want the printed output of model.fit to be prevented from printing set verbose = 0 in model.fit – Gerry P May 08 '21 at 18:34

1 Answers1

0

Add the below code snippet before importing Tensorflow

import logging
logging.getLogger('tensorflow').disabled = True

It will suppress the Tensorflow log information.