Forum Discussion
yolov3_tiny_tf run_inference_stream problem
- 8 months ago
I have solved the error ([CPU] Could not deserialize by device xml header) by modifying the model xml file.
Run the dla_compiler and then get the unsupported layers name. Delete the unsupported layers from xml file and compile again to obtain IR data. Error would disappear.
Hi,
Have you modify the run_image_stream.sh? If yes, can you share with me what is the changes performed? What is the FPGA design or bitstream used?
Thanks
Actually, i did not any change on the run_image_stream.sh or stream.sh.
I used the below wic file from example project.
$COREDLA_ROOT/demo/ed4/a10_soc_s2m/sd-card/coredla-image-arria10.wic
https://www.intel.com/content/www/us/en/docs/programmable/848957/2025-1/writing-the-sd-card-image-wic-to-an-sd-card.html
- JohnT_Altera8 months ago
Regular Contributor
Hi,
Have you performed some emulation to confirm if the model you are using is able to be run in FPGA? The reason is that the example provided is to have the model fully run in FPGA.
But based on the log file provided, some of the layer is not able to performed in FPGA and it need to revert to CPU but the Application code does not support it.
It is recommended you try to compile graph and check the output if it is fully supported or not. https://www.intel.com/content/www/us/en/docs/programmable/863373/2025-3/compiling-a-graph.html.
- fpga_guyx8 months ago
New Contributor
If the run_image_stream and/or image_streaming_app code are modified according to unsupported layers, then the yolo-v3-tiny model will run successfully, what you are trying to tell me as i got it.
Thank you.
- JohnT_Altera8 months ago
Regular Contributor
Hi,
I am glad that you understand it. Please let me know if you have any other queries.