Closed jsbyysheng closed 1 year ago
Aha, I found if I downgraded to tsai==0.3.4
, all works well.
Hi @jsbyysheng , The error you see is due to a breaking change (#655) introduced in release 0.3.5. Before this change, when tfms were None (default), they were automatically added to the learners. In the case of TSClassifier this was added:
tfms = [None, TSClassification()]
The issue is that sometimes, you really want tfms=None. And could do this. So now, you need to manually use this when you instantiate TSClassifier. I recommend you to always use the last release and add the required transforms.
Glad to hear from you.
Cannot running examples
How to reproduce the error? I used
miniforge3
to create a envconda create -n timeseries python=3.10
. Then I installed tsai byconda install -c timeseriesai tsai
(in fact, I have created 3 environments and triedpip
andmamba
). Finally, I got