Replies: 1 comment
-
2 things to do:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to run your example/moirai_forecast_pandas.ipynb script, but when I try to load the checkpoint with the following statement
I encountered an error
AttributeError: type object 'MoiraiModule' has no attribute 'from_pretrained'
. I checked the current code, in themodule.py
script,and in the
forecast.py
script:Since I am not familiar with the
L.LightningModule
class, I am unsure whether it is appropriate to directly addL.LightningModule
to theMoiraiModule
inheritance, and whether it might cause other interference?In addition, if I mimic the previous example script and execute
then the checkpoint can be loaded successfully.
This issue discussed the relevant content, but the error messages are not consistent.
Beta Was this translation helpful? Give feedback.
All reactions