[Kaggle] Incomplete progress bars on commit instead of results

#1

Hello!
When commiting a kaggle notebook some cells don’t show full results after if the cell takes too long.
Examples (note that this is the report after COMMIT)
Short time
image
Long time

As You can see this is frustrating, because I can’t see how the training went.
The rest of the notebook processes just fine.
Is there a way to fix this or should I not rely on commiting to view?

Links:
https://www.kaggle.com/trolleyproblem/notmnist-small
https://www.kaggle.com/trolleyproblem/notmnist-large

1 Like

(Miguel) #2

As a workaround you can plot the losses and the metrics and eventually display or save the “training table” to a .csv file.

# Plot losses
learn.recorder.plot_losses()

# Plot metrics
learn.recorder.plot_metrics()

And there is a callback to save the metrics to a csv: https://docs.fast.ai/callbacks.csv_logger.html

2 Likes