Pytorch came out with a mobile version. Can we get a Fastai Mobile too?


Just provide an easy way to export trained models in pure PyTorch format.
Then we can directly use Pytorch mobile.


This should already be doable.'model.pth') will save the model state_dict.


image classifiers can be exported easily, just follow the steps from the Pytorch mobile website. I am having trouble exporting detectors like Retinanet.

Have a look at the docs of deploying your fastai model on the web and mobile.

TLDR: Once uploaded, your model is automatically converted to the different formats and you use your model on iOS and Android apps without any further development.

Disclaimer: Iā€™m the creator of, but very happy to assist or answer questions. :slight_smile: