Error code: 28. Description: ApiReturnCode.KP_ERROR_CONNECT_FAILED_28
Hi,
日前我想透過貴司的KL720推論自己train的mmdetection模型遇到以下問題:
如上圖,
透過貴司的kneron_plus 1.3.0的GenericCommand不論進行system或model指令都會得到以下這段錯誤
Error: connect device fail, port ID = '6', error msg: [Error raised in function: connect_devices. Error code: 28. Description: ApiReturnCode.KP_ERROR_CONNECT_FAILED_28]
Segmentation fault (core dumped)
且目前透過以下code進行推論時也會得到類似的錯誤,
似乎是在連線到裝置時持續會有CONNECT_FAILED的錯誤
也替換了另一顆KL720交叉測試皆得到同樣錯誤
想請問該如何解決呢?
The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.
Comments
Hi Hsing-Han,
一般的ScanDevices.py的結果會顯示KN number, Connectable也會是True
請您確認是否有設定ubuntu的USB權限: Install Dependency - Document Center (kneron.com)
還有,可以麻煩您提供以下的資訊嗎?
-是在原生的PC上跑,還是在VM上跑呢? 在VM環境執行時,USB device在reboot後會disconnect
-KneronDFUT的版本
-Kneron PLUS 1.3.0跟mmdetection都是在教育中心下載的嗎?
謝謝!
Hi,
是在Ubuntu原生PC上執行,
已透過install_libusb.sh更新權限
將Kneron PLUS更新到2.1.1版後可正常取得推論結果了
謝謝您!