rockchip-linux / rknn-toolkit

BSD 3-Clause "New" or "Revised" License
808 stars 173 forks source link

Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID` #443

Open cv-on-device opened 6 months ago

cv-on-device commented 6 months ago

Hi, I run python test.py, occur error in ret = rknn.init_runtime(target='rv1126', device_id='************') log follow: D Start adb... D Connect to Device success! E Catch exception when init runtime! E Traceback (most recent call last): E File "rknn/api/rknn_base.py", line 936, in rknn.api.rknn_base.RKNNBase.init_runtime E File "rknn/api/rknn_runtime.py", line 341, in rknn.api.rknn_runtime.RKNNRuntime.build_graph E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID

kingzcheung commented 5 months ago

same error with me. E RKNNAPI: RKNN VERSION: E RKNNAPI: API: 1.7.5 (bb79b30 build: 2023-06-20 09:54:19) E RKNNAPI: DRV: 1.7.5 (bb79b30 build: 2023-07-18 10:53:10) E RKNNAPI: ============================================== E Catch exception when init runtime! E Traceback (most recent call last): E File "rknn/api/rknn_base.py", line 1008, 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 E Please feedback the detailed log file to the RKNN Toolkit development team. E You can also check github issues: https://github.com/rockchip-linux/rknn-toolkit/issues E Current device id is: None E Devices connected: E ['b9467c6be2237e7a']