tsai
tsai copied to clipboard
Cannot save learner in pickle format for Time series classification with Transformer (TST) model
learn.save_all(path='export', dls_fname='dls', model_fname='model', learner_fname='learner') The above command shows the following error for the TST model TypeError: cannot pickle 'code' object
I have exactly the same problem when using learn.export learn.export(f"./models/{learner_fname}.pkl")