I’ve been following Jeremys third video (section where he talks about turning the model into an online application). I’ve got a couple of questions.
-
How do I correct the below error (looks like the path directory is wrong?)
-
Where is the path and the rest stored? Is it on my google drive? just wanting to conceptualise where the model is pulling the various data from as my programming level is not amazing if anyone could explain that on a high level would be much appreciated.
-
Is this model still referencing the previous notebook?
Thanks!
FileNotFoundError Traceback (most recent call last)
in ()
1 path = Path()
----> 2 learn_inf = load_learner(path/‘export.pkl’)
3 btn_upload = widgets.FileUpload()
4 out_pl = widgets.Output()
5 lbl_pred = widgets.Label()
3 frames
/usr/local/lib/python3.7/dist-packages/torch/serialization.py in init(self, name, mode)
209 class _open_file(_opener):
210 def init(self, name, mode):
→ 211 super(_open_file, self).init(open(name, mode))
212
213 def exit(self, *args):
FileNotFoundError: [Errno 2] No such file or directory: ‘export.pkl’