How to run a fastai model in the browser

(David Pfahler) #1

As a data protection lawyer, I am very aware of the privacy implications when it comes to model deployment. That’s what got me thinking: Could you train a model in fastai and run it in the browser? Turns out you can!

All the pieces were already in place, but it was somewhat difficult to connect that dots. So I open-sourced my pet project and wrote a short blog post documenting the findings.

If you find any mistakes that I made, please let me know! I want to thank everybody in the fastai community, which is the most helpful community I have ever encountered.


Fastai to browser pipeline
(Rohit Gupta) #2

Awesome!!. Can I use your front-end code for my personal project?


(David Pfahler) #3

Yes, please go ahead. See License section in README, but tldr: my code is MIT licensed.

1 Like