I’m trying to deploy a model that was trained on a google colab gpu so that I can use it for making predictions on a cpu. I’m trying to do that using the
When I try to do
load_learner() in google colab everything works fine. However if I download the exported file and try to load it for example using my laptop I get the following error:
RuntimeError: Invalid magic number; corrupt file?
The downloaded file is identical with the file on google colab (md5sum is the same). Fastai was installed using
pip install git+https://github.com/fastai/fastai.git on both colab and my local laptop. Both use Python 3.6.
I’ve tried to localize the issue by testing whether I might have a wrong protocol versions of pickle etc. but couldn’t find anything useful.
Any idea on what might be cause of this issue would be highly appreciated.