Toybrick

标题: The target_platform is not set in config, using default target platform rk1808. [打印本页]

作者: lidd    时间: 2021-1-26 09:51
标题: The target_platform is not set in config, using default target platform rk1808.
在运行安装包中附带的示例
报出如下错误
Init runtime environment
I NPUTransfer: Starting NPU Transfer Client, Transfer version 2.1.0 (b5861e7@2020-11-23T11:50:51)
E RKNNAPI: rknn_init,  msg_load_ack fail, ack = 1(ACK_FAIL), expect 0(ACK_SUCC)!
E RKNNAPI: ==============================================
E RKNNAPI: RKNN VERSION:
E RKNNAPI:   API: 1.6.0 (79320de build: 2020-12-29 10:57:09)
E RKNNAPI:   DRV: 0.9.7 (d65a37f build: 2019-05-31 14:23:01)
E RKNNAPI: ==============================================
E Catch exception when init runtime!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 844, in rknn.api.rknn_base.RKNNBase.init_runtime
E   File "rknn/api/rknn_runtime.py", line 340, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
Init runtime environment failed
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f87ee7598>
Traceback (most recent call last):
  File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f87ee7598>
Traceback (most recent call last):
  File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f87ee7598>
Traceback (most recent call last):
  File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f87ee7598>
Traceback (most recent call last):
  File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
我的板卡内的芯片是rk3399  为什么默认使用的是rk1808呢?



作者: 李雪梅    时间: 2021-3-9 09:02
因为3399没有npu
作者: sunkai    时间: 2021-3-19 16:01
李雪梅 发表于 2021-3-9 09:02
因为3399没有npu

?????????????




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