- Create RKNN model fail!
- E Catch exception when init runtime!
- E Traceback (most recent call last):
- E File "rknn/api/rknn_base.py", line 788, in rknn.api.rknn_base.RKNNBase.init_runtime
- E File "rknn/api/rknn_runtime.py", line 303, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
- E Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
- W We need do some initial work, it will increase call time of inference for the first time.
- Create RKNN model fail!
- E Catch exception when init model!
- E Traceback (most recent call last):
- E File "rknn/api/rknn_base.py", line 901, in rknn.api.rknn_base.RKNNBase.inference
- E File "rknn/api/rknn_runtime.py", line 303, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
- E Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
- Traceback (most recent call last):
- File "ctdet.py", line 10, in <module>
- det.run(img)
- File "/home/lsc/rknn-toolkit-v1.3.0/centernet/ctdet_rknn_v2/detector.py", line 93, in run
- output, dets = self.process(images)
- File "/home/lsc/rknn-toolkit-v1.3.0/centernet/ctdet_rknn_v2/detector.py", line 44, in process
- hm = output[3].reshape((1,80,128,128))
- TypeError: 'NoneType' object is not subscriptable
复制代码
zht 发表于 2020-1-10 09:03
混合量化我们一般推荐用可视化工具来实现,自己删掉一些层容易出错。但也不排除工具/驱动存在BUG。 ...
欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |