Convert a FastAI model to ONNX and CoreML
Hello there 👋, In this post, I will show you how to convert a FastAI model to ONNX and CoreML. Convert a FastAI model to Pytorch Before we can convert the model to ONNX format or CoreML, we need to convert it to Pytorch first. This is a simple process. Assuming that the model is trained, we need to call torch.save to export the model: from fastai.vision.all import * # learn is your FastAI Learner torch....