https://github.com/nixtla logo
y

Yachna Hasija

04/11/2023, 12:04 PM
Hi Team, I am facing below issue while doing .fit, I have installed all the requirements/dependencies as per git+https://github.com/nixtla/neuralforecast.git@main nf = NeuralForecast(models=models, freq='H') nf.fit(df=df, static_df=static_df)
k

Kin Gtz. Olivares

04/11/2023, 12:09 PM
Hi @Yachna Hasija, With the update towards PL 2.0, the validation_epoch_end was deprecated. If you pip install from the main github branch this issue should be solved. !pip install git+https://github.com/Nixtla/neuralforecast.git
y

Yachna Hasija

04/11/2023, 12:14 PM
Hey @Kin Gtz. Olivares, thanks for the quick reply. I have tried installing dependencies from the updated git location as well, still facing the same error:
k

Kin Gtz. Olivares

04/11/2023, 12:47 PM
Sometimes Google Colab needs you to update the installation by pressing this button:
It has a very weird memory of the python environment
y

Yachna Hasija

04/11/2023, 2:21 PM
Yes, it worked after disconnecting the runtime.. thank you!
k

Kin Gtz. Olivares

04/11/2023, 2:21 PM
🔥
4 Views