Default Avatar

Andy Hsieh

Andy Hsieh

About

Username
Andy Hsieh
Joined
Visits
1,083
Last Active
Roles
Member, ModeratorsKL520, ModeratorsKL720, ModeratorsAIModel

Comments

  • @jackie Hi jackie, 以私訊您提供 e-mail 了,麻煩再幫忙看一下,感謝。
  • @jackie.chou@portwell.com.tw Hi jackie, 好的,可能需要請您提供檔案一下,可提供檔案的雲端位置,如果不方便可私訊我。 非常感謝!
  • @jackie.chou@portwell.com.tw Hi jackie, 可能也需要請您幫忙在 scrtips 裡面加上 print(kp.core.get_version()),用以確認 Kneron PLUS 的版本,然後確認一下您使用的 python 環境。 可以使用 python -V 與 pip -V 來確認 python 與 pip 是否相互對應,因為也怕您…
  • @jackie.chou@portwell.com.tw Hi jackie, 關於第二點,方便的話可能分別需要在 scripts FireDemo.py 裡面幫忙印出來。 目前這邊想看一下是否為 load 加密的模型造成的問題,因為您購買兩次分別綁定不同的 KL720 裝置,照理來說應該會有兩個檔案可以下載,那兩個下載…
  • @jackie.chou@portwell.com.tw Hi jackie, 您那邊是否可以幫我把兩個裝置全部再重新 update Kneron PLUS v2.0.1 的 FW 後再試試看。 更新完後,然後兩個裝置分別再執行一次 scripts (FireDemo.py),並在執行前,幫忙 print 一下 model_info,把結果貼上來。 關於 prin…
  • @jackie.chou@portwell.com.tw Hi jackie, 想跟您確認一下,關於您說明的第二點,您那邊有試過 M.2 KL720 (KL720 M.2 2242 B key compatible(KN:8B041B2C) ) 可以順利執行 Kneron PLUS v2.0.1的標準範例嗎? 2.有更新 KL720 FW, 已安裝Kneron PLUS v2.0.1, 跑過 Knero…
  • @jackie.chou@portwell.com.tw Hi jackie, 因為回傳 KP_FW_INFERENCE_TIMEOUT_103 原因有很多種,您有提到您是使用 "自己的程式",您可能要確保一下您的 Scrtips 在使用 APP-fire 時,input 是否符合模型所需要的。 或是也可以往另外一個方向去確認,您是否…
  • @Clarence Hi Clarence, I may need to confirm with you that the model you are using (onnx, nef) and the Scrtips, and was wondering if you could provide them. I'm guessing you're probably using the byte-tracing code you provided earlier in the contes…
  • @Clarence Hi Clarence, The reason for the error may be that your onnx model is missing "value_info" between layers. https://www.kneron.com/forum/uploads/567/YW233F9M5XO1.png You can try to run onnx's "shape_infernece" or "p…
  • @Temi Hi Temi, You don't have to remove it from pytorch, you can use Kneron Toolchain's Model Editor function or a third party model editor. Because KL520 doesn't support Sigmoid, it may cause your error problem. If you want to modify the onnx mode…
  • @Clarence Hi Clarence. I'm not sure which version of Kneron Toolchain you are using, would you mind letting us know. This should be a problem with the model conversion, in KL720, the main reason for this model error is because the value info of the …
  • @Temi Hi Temi, Seeing that you are using an .onnx model, I found that the reason for this is that your onnx model has Sigmoid operators at the end. (e.g. onnx::Sigmoid_442, onnx::Sigmoid_444, onnx::Sigmoid_446) When using KL520 platform you can re…
  • @Temi Hi Temi. Could you please provide us with the nef. model you ran and the onnx model before converting it to .nef model, if it's convenient for you?
  • @Temi Hi Temi, Sorry for the late reply. I saw your error message, it may be due to the fact that the image size of the input image does not match with the model you want to infer, you can check that your input image matches with the image size of …
  • @Temi Hi Temi, If convenient, you can also provide me your platform with a default example of how the nef model runs its reasoning after you have exported the nef model. For example, https://www.kneron.com/forum/uploads/284/Q3PSUKXB80AY.png
  • @Temi Hi Temi, This is because there are three possible causes for this problem. 1. a problem with the preprocess. 2. a problem with Inference. 3. post-process. You may need to provide more information, such as whether you are using Kneron PLUS v2…
  • @Aliaa Diab Hi Aliaa Diab, After looking at your model, there is a bug in Kneron Toolchain, but the bug has been reported and will be fixed in the next version of Kneron Toolchain. With this model, theoretically, the KL720 needs to be able to suppo…
  • @jerry Hi Jerry, 您提供的 moel,會在 KL520 中有大量不支持的 Operators (e.g. Sigmoid、Mul、Resize、Transpose...),所以造成了一些錯誤無法順利 Compile 成 KL520 可使用的 nef,您可以參考一下此網站: https://doc.kneron.com/docs/#toolchain/appendix/operato…
  • @陳 Hi 陳, 因為您問的是使用 KL630,但 Kneron 目前尚未對外公開販售這個板子,所以如果想要進一步了解 KL630 的相關內容,您可能需要向當初購買此 KL630 板子的窗口進行詢問。
  • https://www.kneron.com/forum/discussion/comment/1507#Comment_1507 @陳 Hi 陳, 因為您是使用 KL520,您可能不能依照 KL630_96board_User_Manual.pdf 裡面的步驟來執行,因為他們是不同的 Kneron 晶片。
  • https://www.kneron.com/forum/discussion/comment/1506#Comment_1506 @陳 Hi 陳, 因為您是使用 KL520,如果發生圖片裡 KneronDFUT 無法抓到板子的問題,你可以往管理員權限的地方找出問題。 您可以嘗試利用系統管理員身分執行 KneronDFUT。
  • @陳 Hi 陳, 看到您的錯誤訊息,很有可能發生您要 train 的 dataset 指定的 path 不符合預期,或者 datasets 的資料夾結構不正確所導致的。 (可參考 https://doc.kneron.com/docs/#model_training/object_detection_yolov5/ Directory Organization) 您可以檢查看看…
  • @劉展憲 Hi 展憲, 關於您的問題,假設您有處理過您的圖片,妳可以透過 Generic Data Inference API 來送入 model 來幫您得到 inference,你可以參考這個 https://doc.kneron.com/docs/#plus_c/feature_guide/generic_inference/ (Generic Inference) https://www.k…
  • @劉展憲 Hi 展憲, 一般不會有影響,但是有些較高版本上面特定的 operator 較低的版本會沒有,那麽就會需要拆成更基礎的計算湊合在一起,導致 Model Graph 看起來更複雜。
  • @劉展憲 Hi 展憲, 因為您是使用 KL720,有將 model 轉成沒有這些 operators 但不用重新 train 的方法,就是使用 Kneron ToolChain 的 Converter,但不會處裡 Softmax。 使用 Kneron ToolChain 中的 Converter 你可以參考以下連結: Kneron python API (推薦使用) : ht…
  • @劉展憲 Hi 展憲, 您的錯誤訊息可能是因為對於 Kneron 所需 onnx model 的 opset version 不合規, imports 有兩個。 您可以參考以下連結,解決您遇到的問題。 https://www.kneron.com/forum/discussion/comment/1037/#Comment_1037 另外, 因為您是使用 KL720,有將 …
  • @Songaji Hi Songaji, This message appears "Input dimensions for 'input_1_o0' (index: 0) do not match. Please make sure your data is the correct shape." It may be because when you preprocess the data, the data shape does not match your mod…
  • @吳杰倫 Hi 杰倫, 看到您的錯誤訊息,不知道您在使用 bie_path = km.analysis(input_mapping, threads = 4, fm_cut="deep_search") 的時候不知道您是否有 prepare a dictionary "input_mapping"。 關於使用 Kneorn Tool Chain ONNX 轉 NEF,您可…
  • @Jyun-Jhe Chou Hi JyuanJhe, 遇到這個情況,可能重新上下電並重新試試看。 然後可能要確保一下 power source 穩定,是否可以拍一下您的 MSF 模組 與 Host 的連接方式讓我們看看。
  • @Wallace Tseng Hi Wallace, The picture you provided me is already a way to delete the redundant opset definition. https://www.kneron.com/forum/uploads/630/GHLD3UO6JXVH.png You just need to add onnx.save(m, "input/your/path") to save th…