Following fastbook 02_production.ipynb I wanted to clarify something:
You need the export.pkl file in your GitHub repo, correct? Otherwise, when Binder builds your app and deploys it, there won’t be any weights to load for inference.
But GitHub frowns upon large files, and will even reject them if they are too big (mine is).
I don’t know if this also applies to you, but I believe my problem was that I was training my model on a Windows machine. I tried numerous times to deploy my Windows-trained model to Binder, but it never worked.
Then I set up a VM on Google Cloud, trained my model on that instance, and then uploaded that model to my GitHub repo. That worked on my first try.
This is my first time working with Binder, so I’m obviously not familiar with it. But my impression is that it works better models built on Linux machines.
Here is my link. I have added the .pkl and .gitattributes. Still no luck!
I have also tried a number of the others on this thread and none seem to work.
All have 404 error
Please let me know what is going on with binder. I am on a MacBook Pro '16.
Download VS Code. It is super easy to push anything to github on there