Toybrick

标题: 在windows下使用PCIe连接rk1808M0计算板跑demo报错 [打印本页]

作者: yiye    时间: 2023-1-12 10:34
标题: 在windows下使用PCIe连接rk1808M0计算板跑demo报错
D:\software\anaconda\envs\rknn\python.exe D:/download/rknn-toolkit-master/rknn-toolkit-lite/examples/inference_with_lite/test.py
--> Load RKNN model
done
--> Init runtime environment
E Catch exception when init runtime!
E Traceback (most recent call last):
  File "D:\software\anaconda\envs\rknn\lib\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 492, in rknnlite.api.rknn_runtime.RKNNRuntime._load_library
  File "D:\software\anaconda\envs\rknn\lib\ctypes\__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

Init runtime environment failed

Process finished with exit code -1
有大佬知道这个是什么问题吗,用debug模式看了,报错在librknn_api.dll读取哪里,但我文件和路径都是对的,不知道怎么搞了


作者: yiye    时间: 2023-1-12 10:42
在windows下应该是能找到设备的
rknn_lite.list_devices()
*************************
all device(s) with ntb mode:
TM018084220800980
*************************
([], ['TM018084220800980'])




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3