Time series Timeseries Deep Learning Machine Learning Python Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai
I noticed that when I saved the learners with save_all in a folder different than '.', load_all was crashing. The reason is that the loaded learner still haa the attributes path and model_dir set to the values it had when it was saved. I added two lines in load_all to replace those values with something that allows to load the model using the path and model_dir arguments.
I noticed that when I saved the learners with
save_all
in a folder different than'.'
,load_all
was crashing. The reason is that the loaded learner still haa the attributespath
andmodel_dir
set to the values it had when it was saved. I added two lines inload_all
to replace those values with something that allows to load the model using thepath
andmodel_dir
arguments.