Do I need Python to use an ONNX model?

 

Hello everyone,

does anyone here know if I need to have Python available to use ready-made ONNX models? Can I use an ONNX model without Python?


Background: I use MT5 on Linux, but I don't want to run a win64 Python on wine.

The models should be created directly on the Linux host using Python.

 
MQL5 can load ONNX models without using python. There is an example in this article:  Using PatchTST Machine Learning Algorithm for Predicting Next 24 Hours of Price Action - MQL5 Articles
Using PatchTST Machine Learning Algorithm for Predicting Next 24 Hours of Price Action
Using PatchTST Machine Learning Algorithm for Predicting Next 24 Hours of Price Action
  • www.mql5.com
In this article, we apply a relatively complex neural network algorithm released in 2023 called PatchTST for predicting the price action for the next 24 hours. We will use the official repository, make slight modifications, train a model for EURUSD, and apply it to making future predictions both in Python and MQL5.
 

All right. Thank you very much.