Where did the rknn model come from?
ststare opened this issue · comments
Hi! Can you tell me where you got the rknn model from? (yolov5s-640-640.rknn) Or if you converted a .pt model, how was it converted and where did this .pt model come from?
Take a look here: https://github.com/airockchip/rknn_model_zoo
Thanks for the answer!
I have already become acquainted with the models that are in this repository. I followed the instructions described in the documents rknn toolkit2 and from yolov5s.onnx (this file is located here ) received yolov5s.rknn . Now when I open this received model and the model that you have (I open it in the Netron-7.3.6.AppImage application), they differ in outputs and, in general, completely internal architecture. Therefore, your model was definitely not obtained from rknn_model_zoo. And if you did use their conversion method, what .onnx model did you use initially?
On the left is your model, on the right is the model from rknn_model_zoo.
OK. This can also be a candidate. I'm also not sure after all this time.
Unfortunately, this model is also different. I understand that you did not convert the model yourself, but found a ready-made one. Did I understand correctly?
But then how is main.cpp written and what variables may need to be changed regarding which .rknn model we are using.
Indeed I found a ready-made one. Main.cpp is more or less a copy of the given example by Radxa
Thank you for your sincere answer! I would be very grateful if you could tell me in more detail about example by Radxa or maybe give me a link.
And maybe the last question, do you know which variables are responsible for the parameters of the .rknn model? So I can try to understand how to change them, relative to my model
Did you see this video from a colleague?
Thanks, I'll take a look!