PaddlePaddle / FastDeploy

⚡️An Easy-to-use and Fast Deep Learning Model Deployment Toolkit for ☁️Cloud 📱Mobile and 📹Edge. Including Image, Video, Text and Audio 20+ main stream scenarios and 150+ SOTA models with end-to-end optimization, multi-platform and multi-framework support.
https://www.paddlepaddle.org.cn/fastdeploy
Apache License 2.0
2.99k stars 465 forks source link

error : Illegal instruction #2315

Open mahesh11T opened 11 months ago

mahesh11T commented 11 months ago

Environment

FastDeploy version: 1.0.2 OS Platform: arm Hardware: raspberry pi 4 Program Language: Python 3.9.2

Problem description

https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/vision/detection/paddledetection/python

followed example for faster-rcnn.

pi@raspberrypi:~/Desktop/FastDeploy/examples/vision/detection/paddledetection/python $ python infer_faster_rcnn.py --model_dir faster_rcnn_r50_vd_fpn_2x_coco --image 000000014439.jpg --device cpu
[INFO] fastdeploy/vision/common/processors/transform.cc(159)::FuseNormalizeColorConvert BGR2RGB and Normalize are fused to Normalize with swap_rb=1
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1275 Setup] ARM multiprocessors name: HARDWARE    : BCM2835

[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1276 Setup] ARM multiprocessors number: 4
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 0, max freq: 1900, min freq: 1900, cluster ID: 0, CPU ARCH: A72
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 1, max freq: 1900, min freq: 1900, cluster ID: 0, CPU ARCH: A72
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 2, max freq: 1900, min freq: 1900, cluster ID: 0, CPU ARCH: A72
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 3, max freq: 1900, min freq: 1900, cluster ID: 0, CPU ARCH: A72
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1284 Setup] L1 DataCache size is: 
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 48 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 48 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 48 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 48 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1288 Setup] L2 Cache size is: 
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 1024 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 1024 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 1024 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 1024 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1292 Setup] L3 Cache size is: 
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1296 Setup] Total memory: 1842500KB
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1297 Setup] SVE2 support: 0
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1298 Setup] SVE2 f32mm support: 0
[I 12/11  4:43:43.607 ...ild/Paddle-Lite/lite/core/device_info.cc:1299 Setup] SVE2 i8mm support: 0
[I 12/11  4:43:43.608 ...ly_build/Paddle-Lite/lite/api/cxx_api.cc:366 Build] Load model from file.
[I 12/11  4:43:43.608 ...e-Lite/lite/model_parser/model_parser.cc:241 LoadModelPb] Loading topology data from faster_rcnn_r50_vd_fpn_2x_coco/model.pdmodel
[I 12/11  4:43:43.802 ...e-Lite/lite/model_parser/model_parser.cc:259 LoadModelPb] Loading params data from faster_rcnn_r50_vd_fpn_2x_coco/model.pdiparams
[I 12/11  4:43:44.128 ...e-Lite/lite/model_parser/model_parser.cc:269 LoadModelPb] 1. Model is successfully loaded!
Illegal instruction
rainyfly commented 9 months ago

估计是用到了该硬件不支持的指令