Error when running inference for a single image

#8
by MichelleYu - opened

Hi,

When I followed the tutorial, I encountered an error shown in the following figure. Could you help me with it? Thanks a lot!

image.png

Please make sure the AMD Ryzen AI has been installed.

Hi,

Yes, I have installed the RyzenAI 1.1 version following this tutorial, https://ryzenai.docs.amd.com/en/latest/inst.html.
I have run resnet50 successfully, https://huggingface.co/amd/resnet50.

Could you help me with it? Thanks a lot!

AMD org

Hi,

I did not reproduce the error you encountered with ryzen-ai-sw-1.1.zip and same driver verison 10.1109.8.128.

Here are some key points I believe are necessary to make the package run correctly:

  1. Activate the correct Conda environment after running the installation script, for example:

  2. Correctly declare the path to vaip_config.json, for example:
    python infer_onnx.py --onnx_model .\yolov8m.onnx -i .\demo.jpg --ipu --provider_config ..\ryzen-ai-sw-1.1\voe-4.0-win_amd64\vaip_config.json

AMD org

Hi,
Please check your driver version, I suspect it is incorrect. You can refer to: https://ryzenai.docs.amd.com/en/latest/inst.html

Hi,

I check my driver version and it is same as the tutorial said....

image.png

Thanks a lot! I will redo everything.

Sign up or log in to comment