-
Notifications
You must be signed in to change notification settings - Fork 80
[BUG] Saving and Loading of TFT model in etna #1120
Comments
Can you please share with us the versions of the external libraries? Especially connected to torch like: |
Basically I created new env using conda only with python and pip, and then just 'pip install etna'. After that to get rid of warnings I used: Here is the whole lib: |
Haven't you installed |
Yes, I did. Just forgot to mention, sorry |
Ok, I also have some problems on Please, give a feedback if it works for you. |
For now, I discovered problem with
|
I rebuilded etna with different versions of everything (my colleague found a well-working set up). I reckon this is not only about |
We have fixed versions of packages in |
It looks like my bug (not original one) is connected to this one: 'tuple' object has no attribute 'items' in models. |
Made a separate issue about discovered error: [BUG] |
🐛 Bug Report
I tried to implement and save etna TFT model from this example:
And it appears that save/load does not work as intended. Loading of saved model causes a
ValueError: Type names and field names must be valid identifiers: 'BaseModel.to_network_output.<locals>.Output'
Expected behavior
Normal load of saved model
How To Reproduce
Code
Environment
Python 3.9.13
etna 1.15.0
Additional context
It seems that this bug appears only after
pipeline_tft.fit(ts)
Checklist
The text was updated successfully, but these errors were encountered: