Skip to content
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

Error while running resnet50 on kria KR250 #1410

Open
NikoSalamini opened this issue Mar 6, 2024 · 1 comment
Open

Error while running resnet50 on kria KR250 #1410

NikoSalamini opened this issue Mar 6, 2024 · 1 comment

Comments

@NikoSalamini
Copy link

I am trying to run a resnet50 model on the KRIA KR260 board, I followed the Hackster tutorial:

Everything is ok until I try to launch the resnet50 model using this command and I get the following error:

./resnet50 /usr/share/vitis_ai_library/models/resnet50/resnet50.xmodel
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0306 02:21:51.199921  4471 resnet50.cpp:153] Check failed: !input_image.empty()         cannot load /usr/share/vitis_ai_library/models/resnet50/resnet50.xmodel
*** Check failure stack trace: ***
Aborted

What's wrong? the image folder is in ~/Vitis-AI/examples/vai_runtime, while the model is in ~/Vitis-AI/examples/vai_runtime.
I also tried to launch the command using env LIBRARY_LD_PATH=path_to_libraries but it doesn't work. I didn't install the vitis_ai runtime.

@KrishnaGaihre
Copy link

Are you running "https://github.com/Xilinx/Vitis-AI/tree/3.0/examples/vai_runtime/resnet50" example? Do you have "../images/" in your Board? If not have then install by following this [https://github.com/Xilinx/Vitis-AI/tree/3.0/examples/vai_runtime#running-vitis-ai-examples-1, Step1].
Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants