Skip to content
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

KeyError pytorch_lightning.utilities.argparse_utils when use neuralprophet #1622

Open
Aaron1993 opened this issue Aug 2, 2024 · 4 comments

Comments

@Aaron1993
Copy link

I use Neuralprophet for airline passenger forecast, when I run the code, there is an error named KeyError pytorch_lightning.utilities.argparse_utils. Is this problem due to version incompatibility?

In my environment, pytorch_lightning=1.9.5 neuralprophet=0.7.0 and torch=2.3.1 + cu121

@ourownstory
Copy link
Owner

Hi @Aaron1993 This sounds like an issue caused by Pytorch lightning. Do you mind sharing some details on this?

@Aaron1993
Copy link
Author

Thanks for your reply. I run the code for Airpassanger forecast, using django==4.1 as Web servers. Beginning, the code can run successfully, however, When the program is halfway through, this error occurs.
image

image

pytorch_lightning=1.9.5 neuralprophet=0.7.0

@ourownstory
Copy link
Owner

@Aaron1993 Thank you. This may be an issue outside NeuralProphet, but if you can provide us with a minimal code snippet to reproduce the error using the current status of the library (Github main branch), I am happy to look into this!

@Aaron1993
Copy link
Author

If I set the parameters of neuralprophet, like learning_rate and n_changepoint, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants