-
Notifications
You must be signed in to change notification settings - Fork 359
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
[DeepAR] Model training error when using deepAR #837
Comments
Hey @Layonhuuu, thanks for using neuralforecast. Can you verify if you have missing values in your target? e.g. |
Thank you very much for your reply. According to your example, the code runs as follows: |
Will it have an impact if all unique_id in my data are 1? |
I found that there is a problem with one of the columns in the exogenous variable, and the problem has been resolved. Thank you very much for your reply! |
@Layonhuuu so the problem missing values in the exogenous features? |
Sorry to bother you again. Recently, I tried the tutorial about Detect Demand Peaks and found that when the code ran, it gave the following error message, causing Python to crash directly. crossvalidation_df = nf.cross_validation( the error: [symbolize_win32.inc : 53] RAW: SymInitialize() failed: 87 Fatal Python error: Aborted Thread 0x000036ac (most recent call first): Main thread: Restarting kernel... |
|
Seems to be a problem with ray. Can you try setting: models = [AutoNHITS(h=24,
config=None, # Uses default config
num_samples=10,
backend='optuna',
)
] |
There's no problem following your method, what's the reason? Could you please let me know? |
Specifying |
Sorry to bother you again.QAQ |
The code is as follows: data = pd.read_csv("IMF1.csv") val_size = 64320 horizon =1 # day-ahead daily forecast models = [AutoDeepAR(h=horizon,num_samples=10,backend='optuna',)] |
You should be able to do this with callbacks (introduced in #795), which will be on the next release. Or you can use them now by installing from github. |
I am greatly beholden to you for your reply! |
@Layonhuuu seems like we need a different approach for what you want. Can you please open a new issue asking for that (how to save the train and validation loss in auto models)? So that we can reply there and other people can find it in case they run into that issue as well. |
OK! My apologies. I have solved the previous problem by using Tensorboard. Thank you very much, but I encountered a difficult problem again. This time I will open a new issue. |
What happened + What you expected to happen
When using probability prediction, I reviewed the tutorial documentation for the corresponding module and successfully ran the code in the tutorial using the NHITS model. Then I want to try using the DeepAR model on my own data, but the model encountered an error.
My code is as follows:
Versions / Dependencies
neuralforecast version = 1.6.4
Python Version = 3.9.18
Reproduction script
ERROR is as follows:
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: