Skip to content

Commit

Permalink
pytorch lightning 2 ProgressBar class rename (#1614)
Browse files Browse the repository at this point in the history
Co-authored-by: Maisa Ben Salah <76703998+MaiBe-ctrl@users.noreply.github.com>
  • Loading branch information
Joseph-Sarsfield and MaiBe-ctrl authored Jul 26, 2024
1 parent 3cf483e commit b8a1f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuralprophet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ def configure_trainer(
has_progressbar_callback = (
True
if has_custom_callbacks
and any(isinstance(callback, pl.callbacks.ProgressBarBase) for callback in config["callbacks"])
and any(isinstance(callback, pl.callbacks.ProgressBar) for callback in config["callbacks"])
else False
)
if has_progressbar_callback and not progress_bar_enabled:
Expand Down

0 comments on commit b8a1f59

Please sign in to comment.