Comments (6)
Not yet any plan to convert pytorch/onnx model to NMSIS-NN, if you want to take a try, you can try the following things:
- tflite-micro: https://github.com/Nuclei-Software/tflite-micro/tree/nuclei_main/tensorflow/lite/micro/nuclei_demosoc
- tengine(need some port using nmsis-nn): https://github.com/OAID/Tengine
- any other opensource ai model deploy model tool, and you can adapt the tool to support NMSIS-NN api, if the tool already support CMSIS-NN, it will be easy to achieve it.
from nmsis.
Not yet any plan to convert pytorch/onnx model to NMSIS-NN, if you want to take a try, you can try the following things:
- tflite-micro: https://github.com/Nuclei-Software/tflite-micro/tree/nuclei_main/tensorflow/lite/micro/nuclei_demosoc
- tengine(need some port using nmsis-nn): https://github.com/OAID/Tengine
- any other opensource ai model deploy model tool, and you can adapt the tool to support NMSIS-NN api, if the tool already support CMSIS-NN, it will be easy to achieve it.
Thanks very much for your help! And I did some investigation regarding to your advice.
- It seems tflite-micro is the most suitable tool I could use right now (for tensorflow model).
- I am aware tengine could deploy model to general RISCV device. However, I am wondering how is its efficiency, comparing to NMSIS-NN?
- This is the most proper way if I need to convert pytorch/onnx models. But developing new toolchain is exhausting. We may not be able to do it immediately.
Here are my new questions, I hope you can give me some feedback, Thanks very much!!!
- Is there any misunderstanding about my above findings?
- regarding to [1], did tflite-micro use NMSIS-NN library? if not, how is its efficiency, , comparing to NMSIS-NN?
- regarding to [2], did tengine use NMSIS-NN library? if not, how is its efficiency, , comparing to NMSIS-NN?
from nmsis.
Currently tflite-micro support is using NMSIS-NN, you can take a try. For tengine, it may no use any of NMSIS-NN code, but you can port to it, if it has cmsis-nn support, it can be easily ported.
Thanks
from nmsis.
Currently tflite-micro support is using NMSIS-NN, you can take a try. For tengine, it may no use any of NMSIS-NN code, but you can port to it, if it has cmsis-nn support, it can be easily ported.
Thanks
- What do you meaning by porting NMSIS-NN to tengine? Do you mean adding new CODEGEN to Tengine for NMSIS-NN? Could you explain it in detail?
- I did see some comments about converting cmsis-nn to nmsis-nn somewhere else, but I did not understand what meaning is that. Here is my naive guess: nmsis-nn a variant of cmsis-nn, which is made for RISCV. NMSIS-NN is roughly simultaneously developed. Generally speaking, their header files are synchronized (similar API). That is saying any CMSIS-NN api call can be replaced by a corresponding NMSIS-NN api. I have no idea about the correnctness of my guess. Can you please give me more information about NMSIS-NN & CMSIS-NN and the "port" things in a Toolchain
from nmsis.
- yes
- NMSIS-NN are designed to be api compatiable with CMSIS-NN, just replace
arm
toriscv
, see https://doc.nucleisys.com/nmsis/nn/index.html
from nmsis.
- yes
- NMSIS-NN are designed to be api compatiable with CMSIS-NN, just replace
arm
toriscv
, see https://doc.nucleisys.com/nmsis/nn/index.html
- Is there an existing opensource NMSIS-NN codegen I could use to migrate? Or I should implement it on my own?
from nmsis.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmsis.