it would be great to wikify this post and create a complete guide regarding deploying the app with Binders, there are different comments and suggestions around. This can help other users in the future.
[git-lfs](https://git-lfs.github.com/) uploaded files work [It needs the add gitattributes]
see repo here https://github.com/albertotono/deployment_solid_classifier
- Double check you have all the functions, and a path defined in your jupyter notebook. What I did to my code.
- added “from fastai2.vision.all import *”
- added “path = Path()”
Look at https://github.com/Datadote/bearApp or anyone’s working repo for an example
use a small model such as resnet18 at the beginning. When the voila app is working on binder, then try a bigger model with git lfs
Make sure you have all the right files in the github repo
(the jupyter notebook, .pkl file, and requirements.txt)
(REAME, Utils and LICENSE are not needed)
Try your files out on mybinder before doing the voila option. For example, you can just include your repo, but leave “Path to a notebook file” blank. This lets you debug on the mybinder server similar to your local jupyter notebook or colab
Change from FILE to URL
If 1-4 have been done, I think your app will deploy correctly. (May take a few minutes to start up though)
Before Launch make sure to copy the URL provided in order to post in your github repo
Good luck and let’s collect here feebacks