-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] MisconfigurationException: Trainer was configured with enable_progress_bar=False
but found TQDMProgressBar
in callbacks list.
#1455
Comments
Hey @johnnyb1509, I tested and couldn't reproduce the issue. You can use one of our datasets as a dummy time series. I.e.what I used is:
|
Let's try this code, the only difference is the model, I'm using
and the result on my machine is
For more infomation on package version:
|
Thanks, tested and could successfully reproduce the issue. This is indeed a bug and comes from a mutable copy of the trainer parameters. This resulted in PyTorch Lightning appending their callbacks to the original trainer_params every time when fit()/predict() is called. #1459 will fix this. In the meantime, as a quick fix you can use the same verbosity for fit/predict/historical_forecasts ... |
Thank you for your support! The thread will be closed here |
Describe the bug
As the topic name, I have load the model.pt then run historical forecast on a dataset, then there is an error. The code is as below
The error is
Additional infomation
I did not import any tqdm or callback tqdmProgress from pytorch Lightning module
System (please complete the following information):
How to fix this error?
I have been using darts since the version 0.13 til now, and almost of bugs is about configuration of Trainer. So is there any method to fix these error from wrappers of darts?
The text was updated successfully, but these errors were encountered: