Mention that the Trainer has started in barebones mode (#16926)
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
This commit is contained in:
parent
429b4309cd
commit
900c0ebc84
|
@ -844,6 +844,13 @@ class Trainer:
|
|||
self.fit_loop.min_epochs = min_epochs
|
||||
self.fit_loop.max_epochs = max_epochs
|
||||
|
||||
if self.barebones:
|
||||
# no progress bar in barebones can make it look like the Trainer hung
|
||||
rank_zero_info(
|
||||
"`Trainer(barebones=True)` started running. The progress bar is disabled so you might want to"
|
||||
" manually print the progress in your model."
|
||||
)
|
||||
|
||||
# clean hparams
|
||||
if hasattr(model, "hparams"):
|
||||
parsing.clean_namespace(model.hparams)
|
||||
|
|
Loading…
Reference in New Issue