Hi, has anyone deployed your pkl file to heroku ? I have tried but I was unable to do it due to large slug size. I think its because I need to download the fastai dependencies.
However when i try to load the pkl model as a pkl instead of
load_learner('./Pneumonia_Predictor_first_optim.pkl') i get : model = pickle.load(open('./Pneumonia_Predictor_first_optim.pkl','rb')) runcell(0, '/Users/shayyyyyy/Desktop/mlsite/predictor.py') Traceback (most recent call last): File "/Users/shayyyyyy/Desktop/mlsite/predictor.py", line 21, in <module> model = pickle.load(open('./Pneumonia_Predictor_first_optim.pkl','rb')) UnpicklingError: A load persistent id instruction was encountered, but no persistent_load function was specified.
Any solutions ?