|
板凳
楼主 |
发表于 2020-5-14 13:18:32
|
只看该作者
感謝您的回覆
沒quantize下可以成功export .rknn model
但這個rknn在拿來應用時 雖可load model, 但到init runtime就會出錯
Loading RKNN model
done
--> init runtime
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.3.2 (9eebd73 build: 2020-04-02 15:30:51)
E RKNNAPI: DRV: 1.3.0 (c4f8c23 build: 2019-11-25 10:39:29)
E RKNNAPI: ==============================================
E Catch exception when init runtime!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 1067, in rknn.api.rknn_base.RKNNBase.init_runtime
E File "rknn/api/rknn_runtime.py", line 326, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
E Current device id is: TS018082190800304
E Devices connected:
E ['TS018082190800304']
init runtime failed.
請問我可以給你們我的這個含有pad op的.tflite model, 方便你們修掉這個bug嗎?
還是我該怎麼解決這個問題呢 (改用custom op的方式?) |
|