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'm getting this error trying to build deepar or nbeats models using your fit function on any of these fit modes, with gluonts_nbeats_ensemble or gluonts_deepar engine in each case:
fit(value ~ ., training(<training_dataframe_ts>))
fit(value ~ date + id, <dataframe_ts>)
Error in py_call_impl(callable, dots$args, dots$keywords) :
gluonts.core.exception.GluonTSDataError: Array 'target' has bad shape - expected 1 dimensions, got
I also added the required id column on <training_dataframe_ts> and <dataframe_ts> with rowid_to_column function.
As I saw the error had a py call, I tried to install and reinstall the install_gluonts - include_pytorch option on either true or false flag, but both ways return the same error.
Regards.
The text was updated successfully, but these errors were encountered:
Reviewing your youtube channel's videos, on this https://www.youtube.com/watch?v=QhuoCKhQ5fg min 34:13, code lines 111-112, I tried to replicate your code for fit command with "data", still without avail (appears that bad shape array error).
Hello Modeltime GluonTS Team:
I kindly ask your help or guidance to solve this error that isn't allowing me to build deepar or nbeats forecast models according to your doc https://business-science.github.io/modeltime.gluonts/articles/managing-envs.html and https://business-science.github.io/modeltime.gluonts/reference/deep_ar.html:
fit(value ~ ., training(<training_dataframe_ts>))
fit(value ~ date + id, <dataframe_ts>)
Error in py_call_impl(callable, dots$args, dots$keywords) :
gluonts.core.exception.GluonTSDataError: Array 'target' has bad shape - expected 1 dimensions, got
I fixed a similar "regression" error, reinstalling all your modeltime gluonts enviroment, including conda and all necessary visual studio build tools required packages as instructed on this link: https://developercommunity.visualstudio.com/t/error-microsoft-visual-c-140-is-required/409173
I also added the required id column on <training_dataframe_ts> and <dataframe_ts> with rowid_to_column function.
As I saw the error had a py call, I tried to install and reinstall the install_gluonts - include_pytorch option on either true or false flag, but both ways return the same error.
Regards.
The text was updated successfully, but these errors were encountered: