amd / RyzenAI-SW

MIT License
285 stars 45 forks source link

Attempted to run 'multi-model-exec', but did not produce the expected result #79

Open HonestQiao opened 2 months ago

HonestQiao commented 2 months ago

Hardware: UM790Pro IPU: 0.1109.8.128 System: Windows 11 Pro 23H2 miniconda: 24.3.0 Python: 3.9.7

First , I can run demo/cloud-to-client correct. The env name is ryzenai. But , I cannot get the expected result by running demo/multi-model-exec.

Step:

  1. Download https://www.xilinx.com/bin/public/openDownload?filename=resource_multi_model_demo.zip and extract resource to demo/multi-model-exec/ipu_modelsx4_demo
  2. generate configs and scripts
    
    cd demo/multi-model-exec
    conda activat ryzenai
    set GLOG_PATH=%cd%\..\..\tutorial\yolov8_e2e\bin
    dir %GLOG_PATH%\glog.dll
    set PATH=%GLOG_PATH%;%PATH%

cd ipu_modelsx4_demo python generate_script.py


<img width="1109" alt="image" src="https://github.com/amd/RyzenAI-SW/assets/696708/d7609363-2075-40f4-8f6d-84bb4dc41f51">
<img width="1075" alt="image" src="https://github.com/amd/RyzenAI-SW/assets/696708/2f5396b6-db49-4c9a-8fa6-18f0caf64a7d">

3. run scipts:
  * [run_mobile_net_v2.txt](https://github.com/amd/RyzenAI-SW/files/15197335/run_mobile_net_v2.txt)
  * [run_resnet50.txt](https://github.com/amd/RyzenAI-SW/files/15197337/run_resnet50.txt)
  * [run_retinaface.txt](https://github.com/amd/RyzenAI-SW/files/15197338/run_retinaface.txt)
  * [run_segmentation.txt](https://github.com/amd/RyzenAI-SW/files/15197339/run_segmentation.txt)
  * [run_yolovx.txt](https://github.com/amd/RyzenAI-SW/files/15197340/run_yolovx.txt)
  * [run_modelx4.txt](https://github.com/amd/RyzenAI-SW/files/15197341/run_modelx4.txt)

After each script runs, there is output, but no window is opened to display any content.
lidachang-amd commented 2 months ago

@HonestQiao could you please try running the OpenCV C++ code locally to see if it works?