|
5#
楼主 |
发表于 2023-10-18 10:04:29
|
只看该作者
树莓派是arm架构,而1808目前不支持arm架构,只支持pc架构,所以应该是用不了了。给朋友们避个坑吧:
- pi@raspberrypi:~/workspace/rknn/rknn-toolkit-master/rknn-toolkit-lite/examples/inference_with_lite $ python3 test.py
- --> Load RKNN model
- done
- --> Init runtime environment
- E Catch exception when init runtime!
- E Traceback (most recent call last):
- File "/home/pi/.local/lib/python3.7/site-packages/rknnlite/api/rknn_lite.py", line 144, in init_runtime
- async_mode=async_mode, rknn2precompile=rknn2precompile)
- File "rknnlite/api/rknn_runtime.py", line 292, in rknnlite.api.rknn_runtime.RKNNRuntime.__init__
- File "rknnlite/api/rknn_runtime.py", line 491, in rknnlite.api.rknn_runtime.RKNNRuntime._load_library
- File "rknnlite/api/rknn_runtime.py", line 486, in rknnlite.api.rknn_runtime.RKNNRuntime._get_rknn_api_lib_path
- Exception: Unsupported run platform: Linux armv7l
- Init runtime environment failed
|
|