New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rund benchmark Openvino using RPI #8728
Comments
Hi, which model are you using? and what topology is it? (eg: Model: Tensorflow, Topology:Inception v2) |
Do you have "CPU" plugin in the used RPi OpenVINO package? (check plugins.xml file) If no, then it is special package which is targeted to support MYRIAD devices (like Intel NCS2 USB stick) only.
|
Hi, I used a YOLOv5 nanoarchitecture, the model works fine with the same Python scripts on my computer using MYRIAD and I tested it before on RPI! I don't know where this problem comes from. |
From what I can see your model, topology, and layer (Swish layer) is supported.
From here, it's said that the YOLOV5 is using Sigmoid activation function instead of Swish. (Correct me if yours is initially using Swish) The Swish activation function is actually x times Sigmod function. If you created it, I suggest you take a proper look at your code since that's the main thing your error is telling. It would be great if you could provide these:
|
Similar to what I asked from @besmaGuesmi, It would be great if you could provide these:
|
Hello! I have posted some instructions to my Github project, which can be accessed as follows: |
Hi @zzff-sys @besmaGuesmi , I manage to run the YOLOV5 with the OpenVINO Benchmark App using Raspberry Pi 4 (8GB RAM)+NCS2 with OpenVINO 2021.4.1, newer version should works too. Please note that you'll need to properly build the Benchmark App.
You'll have the built binary in the arm dir (the same as object detection sample app) Note that the OpenVINO Object Detection Sample SSD is not suitable to be run with YOLOV5 since it requires output to be 7 as a last dimension (which is not complement with the YOLOV5 model). This is why it fails. You may use the Benchmark App instead and work your way from there. |
@Iffa-Meah |
Hi @Iffa-Meah |
@besmaGuesmi if you faced the error of OpenVINO is not found, then definitely there's something you didn't set up properly. If you custom created that python script there's possibility that you need to update some code to the script or it could be something else. |
Closing issue, feel free to re-open or start a new issue if additional assistance is needed |
Hi! I faced this problem when I ran the benchmark on RPI! any help?
The text was updated successfully, but these errors were encountered: