Modify Display Utils

Utilities for collecting/checking fastai user environment

from fastai.utils.mod_display import *

class progress_disabled_ctx[source][test]


Tests found for progress_disabled_ctx:

  • pytest -sv tests/ [source]

To run tests please refer to this guide.

Context manager to disable the progress update bar and Recorder print. will display a progress bar and give the final results once completed:
Total time: 00:04

epoch train_loss valid_loss accuracy time
0 0.146324 0.082466 0.971541 00:04

progress_disabled_ctx will remove all that update and only show the total time once completed.

with progress_disabled_ctx(learn) as learn:
Total time: 00:03