Re:Show HN: Invertornot.com – API to enhance your images in ...
by a2code on Monday March 25, 2024 @07:41PM
(#39822557)
How can you use or create this model for conventional non-API projects? Like to embed it within some C code?
[ Parent
| on HN ]
Re:Show HN: Invertornot.com – API to enhance your images in ...
by lights0123 on Monday March 25, 2024 @08:08PM
(#39822771)
They're using ONNX Runtime to run the model, which has a C API: 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.
Re:Show HN: Invertornot.com – API to enhance your images in ...
by mattismegevand on Tuesday March 26, 2024 @04:15AM
(#39825285)
Exactly, the transformation done for inference are located here: https://github.com/mattismegevand/invertornot/blob/main/api/...