- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greeting to all, I hope you're all doing well. I have a question that I need help with, and I'm hoping to receive a prompt response. I appreciate your time and expertise in advance.
At first, I export the yolov7-tiny.pb to yolov7-tiny.onnx, then convert the yolov7-tiny.onnx to the IR format using openvino 2022.2.0.
After I got the IR format, I was trying to deploy yolov7-tiny to Intel-DevDcloud for the edge by modifying the code inside the example: "Reference-samples/iot-devcloud/openvino-dev-latest/developer-samples/python/tiny-yolo-v4-python" as shown in the figure below.
However, the inferencing fails and comes out with the error message (ValueError: get_shape was called on a descriptor::Tensor with dynamic shape) as shown in the figure below.
What should I do to overcome this problem?
I'm looking forward to hearing from you soon. Thank you!
I had attached the model files in the attachments section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wen_Jie,
Since the model is running with Benchmark_app you should be able to use it and obtain inference results. You will need to write your own code as we don't have a sample/demo for yolov7-tiny.
If can also try to run your model with the benchmark_app tutorial that does not require an AWS account. You can find the tutorial in the following directory via JupyterLab.
Reference-samples/iot-devcloud/openvino-dev-latest/tutorials/benchmarkApp_python/
Simply upload your model to the model/FP16 directory and update the following cell.
Regards,
Jesus
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wen_Jie,
Thanks for reaching out, have you tried running your model with the benchmark_app (Reference-samples/iot-devcloud/openvino-dev-latest/developer-samples/python/benchmarkApp-python/) to ensure inference is possible with OpenVINO?
That being said, we don't have an OpenVINO sample/demo available for YoloV7-tiny on Intel Developer Cloud for the Edge. You could try to implement your own code by referencing the object detection demo from Open Model Zoo. However, this demo code will also need to be modified to support YoloV7-tiny as it only supports the following architectures.
- architecture_type = yolo
- mobilefacedet-v1-mxnet
- mobilenet-yolo-v4-syg
- person-vehicle-bike-detection-crossroad-yolov3-1020
- yolo-v1-tiny-tf
- yolo-v2-ava-0001
- yolo-v2-ava-sparse-35-0001
- yolo-v2-ava-sparse-70-0001
- yolo-v2-tf
- yolo-v2-tiny-ava-0001
- yolo-v2-tiny-ava-sparse-30-0001
- yolo-v2-tiny-ava-sparse-60-0001
- yolo-v2-tiny-tf
- yolo-v2-tiny-vehicle-detection-0001
- yolo-v3-tf
- yolo-v3-tiny-tf
- architecture_type = yolov3-onnx
- yolo-v3-onnx
- yolo-v3-tiny-onnx
- architecture_type = yolov4
- yolo-v4-tf
- yolo-v4-tiny-tf
- architecture_type = yolof
- yolof
- architecture_type = yolox
- yolox-tiny
Hope this helps!
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jesus
Could you show me which line of codes should I modify in order to run the model with the benchmark_app (Reference-samples/iot-devcloud/openvino-dev-latest/developer-samples/python/benchmarkApp-python/)?
I did not have any AWS, so I will need to upload the model manually.
In the meantime, I had try to run the benchmark_app in the Ubuntu 18.04 as shown below.
It successfully benchmarking the yolov7-tiny in IR format.
So this means the inference can be run with OpenVINO for the yolov7-tiny in IR format?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wen_Jie,
Since the model is running with Benchmark_app you should be able to use it and obtain inference results. You will need to write your own code as we don't have a sample/demo for yolov7-tiny.
If can also try to run your model with the benchmark_app tutorial that does not require an AWS account. You can find the tutorial in the following directory via JupyterLab.
Reference-samples/iot-devcloud/openvino-dev-latest/tutorials/benchmarkApp_python/
Simply upload your model to the model/FP16 directory and update the following cell.
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you need any additional information, please submit a new question as this thread will no longer be monitored.
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page