Xilinx / Vitis-AI

Vitis AI is Xilinx’s development stack for AI inference on Xilinx hardware platforms, including both edge devices and Alveo cards.
https://www.xilinx.com/ai
Apache License 2.0
1.49k stars 633 forks source link

Segmentation fault when running vitis ai library example #1054

Open JINYU-FAN opened 2 years ago

JINYU-FAN commented 2 years ago

I am running the example from https://github.com/Xilinx/Vitis-AI/blob/master/src/Vitis-AI-Library/graph_runner/samples/resnet_v1_50_tf_graph_runner/

However I got Segmentation fault (core dumped) when running the following line: auto v = runner->execute_async(input_tensor_buffers, output_tensor_buffers);

I am using two U200 alveo card and vitis-ai-cpu docker environment. The model I use is: wget -O resnet_v1_50_tf-u200-u250-r2.5.0.tar.gz https://www.xilinx.com/bin/public/openDownload?filename=resnet_v1_50_tf-u200-u250-r2.5.0.tar.gz The complete code is given below: resnet.zip

I also used the gdb tool and below is what I got: image Thanks in advance!

Mickeyyyang commented 1 year ago

I also encountered this problem...