How can I make my Bear Classifier into a website, if I am using Google Colab

How can I make my Bear Classifier into a website, if I am using Google Colab.
I didn’t find any suitable way using ngrok or voila. Please Help!

1 Like

Hello, I have kind of a similar question . I have used Dash before to make an interactive website using python, I thought I could use Dash and fastai together to make a web app but so far I haven´t been able to do it. I wonder if theres is some other way to upload images , because I haven´t been able to use:

btn_upload = widgets.FileUpload()
out_pl = widgets.Output()
lbl_pred = widgets.Label()

widgets are for jupyter notebooks or google colab but not for pycharm.

I´ve tried using:
btn_upload = ‘upload-image’
out_pl = ‘output-image-upload’
lbl_pred = widgets.Label() <-- I really don´t know what to change this for

but I haven´t been able to have success.

It seems to involve saving pretrained weights, freezing the network and adding the new classes and then continuing the training. Similar to the transfer learning we do when we use the Resnet model.

I haven’t done it personally but can see a need in the future for one of my solutions.

Have you followed the steps in the Fastbook Production Notebook?

There are a couple of threads that might put you in the right direction:

https://forums.fast.ai/search?q=voila

Alternatively, you can deploy your model to the web, iOS and Android using the SeeMe.ai quick guide:

No setup required, and models are converted to also run locally/offline on the mobile devices.
Disclaimer, I’m the creator or SeeMe.ai, so I’m obviously biased, but here to help. :slight_smile:

1 Like