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
While me and @heinoso were trying to use the continue_training parameter in the forecaster.py/fit() method as described in the official documentation we encountered an issue.
According to the documentation, this parameter is meant to allow continued training from the last checkpoint. However, when I try to fit the model again using this parameter, I receive the following error:
RuntimeError: Model has been fitted already. Please initialize a new model to fit again.
Inspecting the source code in the main branch, the fit() method does not include the continue_training parameter. The only parameters available are:
After further investigation, I found that the continue_training parameter is present only in the train-continue branch, which depends on the custom-lr-scheduler branch.
Suggestions
Include the continue_training parameter in the fit() method in the main branch.
Ensure the documentation aligns with the main branch to avoid confusion for users.
If this feature is still under development, clarify in the documentation that it is available only in specific branches/versions.
Final Comentary
We really enjoy using NeuralProphet model, it gives really great results and I would love to be able to refit the model, just like in other models (e.g. Prophet, XGBoost, LightGBM, etc). Keep up with the great work :)
The text was updated successfully, but these errors were encountered:
While me and @heinoso were trying to use the
continue_training
parameter in theforecaster.py/fit()
method as described in the official documentation we encountered an issue.According to the documentation, this parameter is meant to allow continued training from the last checkpoint. However, when I try to fit the model again using this parameter, I receive the following error:
RuntimeError: Model has been fitted already. Please initialize a new model to fit again.
Inspecting the source code in the main branch, the fit() method does not include the
continue_training
parameter. The only parameters available are:neural_prophet/neuralprophet/forecaster.py
Lines 970 to 989 in 5e6b231
After further investigation, I found that the
continue_training
parameter is present only in the train-continue branch, which depends on the custom-lr-scheduler branch.Suggestions
continue_training
parameter in the fit() method in the main branch.Final Comentary
We really enjoy using NeuralProphet model, it gives really great results and I would love to be able to refit the model, just like in other models (e.g. Prophet, XGBoost, LightGBM, etc). Keep up with the great work :)
The text was updated successfully, but these errors were encountered: