fastai Deployment

Save

from fastai.vision.widgets import *
path = Path()
path.ls(file_exts='.pkl')
 
learn_inf = load_learner(path/'export.pkl')
learn_inf.predict('images/grizzly.jpg')
learn_inf.dls.vocab