-
Notifications
You must be signed in to change notification settings - Fork 473
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
Error attempting to load model and resume training #1493
Comments
@SimonWittner In the repro code, if I substitute with |
I had a thought that the Setting |
Hi @tg2k We currently do not have support for re-fitting a fitted model - the model needs to be re-initialized. The error you are encountering is not conneced to saving and loading, but to fitting a model twice - once before saving and once after loading. I will add a proper Error to make this clear, sorry for the confusion! If you would like to help us support re-training / continued training, you are very welcome to do a PR changing the configuration init/storing during fitting and re-fitting. |
Using either 1.0.0.4rc4 or 1.0.0.rc5 when I save a model, reload, and call
fit()
, I get an exception:'NoneType' object has no attribute 'global_local'
The error occurs because
self.config_seasonality
isNone
upon reload.The following script triggers the problem:
FWIW, in my own (non-repro) code, it actually gets past this (it's unclear to me why), and fails downstream with
unsupported operand type(s) for -: 'numpy.ndarray' and 'Timestamp'
here:My environment (under WSL) is stripped down to this .yml:
The text was updated successfully, but these errors were encountered: