Can I export Keras model in azure machine learning sql edge?

Dan Ishutin 80 Reputation points
2023-07-30T21:52:18.82+00:00

Hello, I know machine learning edge support ONNX model export, it’s convenient, but my model is on other format which is scikit learn and Keras. Can I export them and how? What I know is only PyTorch can do it. Any idea?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,341 questions
0 comments No comments
{count} votes

Accepted answer
  1. YutongTie-MSFT 53,971 Reputation points Moderator
    2023-07-30T23:45:53.51+00:00

    Hello @Dan Ishutin

    Thanks for reaching out to us. I think you are mentioning Azure SQL edge Machine Learning - https://learn.microsoft.com/en-us/azure/azure-sql-edge/onnx-overview

    As the document second part, you can do it since you can convert your model as Keras framework, scikit-learn framework to ONNX to export -

    To obtain a model in the ONNX format:

    • Model Building Services: Services such as the automated Machine Learning feature in Azure Machine Learning and Azure Custom Vision Service support directly exporting the trained model in the ONNX format.
    • Convert and/or export existing models: Several training frameworks (for example, PyTorch, Chainer, and Caffe2) support native export functionality to ONNX, which allows you to save your trained model to a specific version of the ONNX format. For frameworks that do not support native export, there are standalone ONNX Converter installable packages that enable you to convert models trained from different machine learning frameworks to the ONNX format.

    Supported frameworks

    For the full list of supported frameworks and examples, see Converting to ONNX format.

    Please follow the guidance and have a try, please let me know if you have more questions. Also, Azure Machine Learning Service is a good way for ML models developing.

    Regards,

    Yutong

    -Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.