3 ms·
How can you use or create this model for conventional non-API projects? Like to embed it within some C code?
by a2code 3y ago
How can you use or create this model for conventional non-API projects? Like to embed it within some C code?
- lights0123 3y agoThey're using ONNX Runtime to run the model, which has a C API: https://onnxruntime.ai/docs/get-started/with-c.html https://onnxruntime.ai/docs/get-started/with-c.html. You could also use any other ML inference library that supports the ONNX format. You'd need to look at this project's code to see how it converts input data to the expected matrix format, though.
- mattismegevand 3y agoExactly, the transformation done for inference are located here: https://github.com/mattismegevand/invertornot/blob/main/api/nn.py https://github.com/mattismegevand/invertornot/blob/main/api/...