Anyone heard of NeuralNote?
https://www.youtube.com/watch?v=01om4gWmSEw
If yeah, has anyone tried to fork it to Linux?
Moderators: MattKingUSA, khz
Anyone heard of NeuralNote?
https://www.youtube.com/watch?v=01om4gWmSEw
If yeah, has anyone tried to fork it to Linux?
yes, and I would say it works nice
https://github.com/polygon/NeuralNote/tree/linux
and you need onnxruntime build https://github.com/polygon/libonnxrunti ... tree/linux
Looks promising. However, being the compiling-dummy that I am, I wasn't able to compile it, although I tried for hours, hehe. I tried to follow the different documentations but I'm currently stuck at
Code: Select all
NeuralNote_build/Tests/../Lib/Model/Features.h:9:10: schwerwiegender Fehler: onnxruntime_cxx_api.h: Datei oder Verzeichnis nicht gefunden
9 | #include <onnxruntime_cxx_api.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
Kompilierung beendet.
I'm lost at this point.
I think I'll leave it at that for now.
EDIT: typos
The linked pull request says you need a patched version of the ONNX runtime. Clone that repository and compile it, which will result in a tar.gz file. The tar.gz file should be extracted to 'ThirdParty/libonnxruntime', so that you have a file 'ThirdParty/libonnxruntime/lib/libonnxruntime.a'. Then you should be able to compile the Linux version of NeuralNote like normal, I hope.
That being said, the PR is still open, so not all issues appear to be ironed out. I'd wait a little longer if you have little experience with compiling.
Edit: Hopefully fixed instructions according to the other PR.
Thanks for the extra hints.
Maybe I'll have another look at it later. Just to clarify: What I did was I cloned the linux branch of both repos (NeuralNote and the libonnxruntime). Furthermore, I (think I) did manage to compile the patched linux version of libonnxruntime sucessfully and I extracted it into 'ThirdParty/onnxruntime'. I also took a look at the build.sh file and did copy the 'model.with_runtime_opt.ort' file as 'features_model.ort' into 'Lib/ModelData' as suggested there, and then I invoked the build commands. Sadly, to no avail.
I think I'll wait a bit, until it gets more dummy-proof.
Thanks, nevertheless.
Linux stills shows as TO DO!
I don't see any way of building anything for Linux..
I'll wait for the TO DO to DONE