ermig1979 / Synet

A small framework to infer neural network
MIT License
140 stars 26 forks source link

How to use ONNX converter #20

Closed edward9112 closed 3 years ago

edward9112 commented 3 years ago

Hello,

I can see that the ONNX support has been added. But how do I convert from the .onnx model file? Your converter requires .bin and .xml

Thank you

ermig1979 commented 3 years ago

Try like this:

./test_onnx -m=convert -fm=model.onnx -fw=model.onnx -sm=synet.xml -sw=synet.bin -tf=1