You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to hide the Finding best initial lr message when calling the lr_find method associated with Darts' Torch Forecasting Models, such as BlockRNNModel:
Based on my understanding, this message is generated by pytorch-lightning. In particular, by the on_train_batch_start method from the _LRCallback class. At least in this specific case 🤔
I have tried the following:
Including verbose=False when calling the lr_find method.
Passing a TQDMProgressBar(refresh_rate=0) instance through the callbacks list in the pl_trainer_kwargs dict passed to the BlockRNNModel constructor.
Including an "enable_progress_bar": False in the pl_trainer_kwargs dict passed to the BlockRNNModel constructor.
So far, no luck 😞
I don't know if I have misunderstood something or I am missing some critical bit of information 😬
Could you help me solve this issue? 🙏
Any feedback would be much appreciated ☺️
I am using:
python 3.11.0
darts 0.28.0
pytorch_lightning 1.9.5
Let me know if there are any missing but relevant and clarifying details I should mention.
The text was updated successfully, but these errors were encountered:
Hi @fmerinocasallo. Unfortunately, I think there is currently no built-in/easy way to disable the lr_find progress bar.
As you say, the progress bar comes from pytorch_lightning, spefically from pytorch_lightning.tuner.tuning.Tuner.lr_find(). It seems like lr_find() currently doesn't offer a way to disable the progress bar.
If this was supported by lightning, we can add support for it to Darts as well.
I am unable to hide the
Finding best initial lr
message when calling thelr_find
method associated with Darts' TorchForecasting Models
, such asBlockRNNModel
:Based on my understanding, this message is generated by
pytorch-lightning
. In particular, by theon_train_batch_start
method from the_LRCallback
class. At least in this specific case 🤔I have tried the following:
verbose=False
when calling thelr_find
method.TQDMProgressBar(refresh_rate=0)
instance through thecallbacks
list in thepl_trainer_kwargs
dict passed to theBlockRNNModel
constructor."enable_progress_bar": False
in thepl_trainer_kwargs
dict passed to theBlockRNNModel
constructor.So far, no luck 😞
I don't know if I have misunderstood something or I am missing some critical bit of information 😬
Could you help me solve this issue? 🙏
Any feedback would be much appreciated☺️
I am using:
Let me know if there are any missing but relevant and clarifying details I should mention.
The text was updated successfully, but these errors were encountered: