Modifying the display progress bar during model.fit

Currently the progress bar during model.fit looks like the following (with metrics = [‘mae’]):

Epoch 1/5
1/1 [==============================] - 4s 4s/step - mae: 0.0365 - val_loss: 0.7191 - val_mae: 0.7191
Epoch 2/5
1/1 [==============================] - 4s 4s/step - loss: 0.0000e+00 - mae: 0.0279 - val_loss: 0.1241 - val_mae: 0.1241

Is there any way to modify this such that only the metrics are displayed (remove both loss and val_loss)?

It looks like you might be able to do it by overloading the metrics property.

But IDK what else could go wrong there.

1 Like