
Maria Chen
Maria Chen
About
- Username
- Maria Chen
- Joined
- Visits
- 1,111
- Last Active
- Roles
- Member, ModeratorsKL520, ModeratorsKL720, ModeratorsAIModel
Comments
-
Hi Hsing-Han, 一般的ScanDevices.py的結果會顯示KN number, Connectable也會是True https://www.kneron.com/forum/uploads/078/M9V8I3AKOI3N.png 請您確認是否有設定ubuntu的USB權限: Install Dependency - Document Center (kneron.com) 還有,可以麻煩您提供以下的…
-
您好, 我們公司沒有現成的傅立葉的範例,不好意思。我們的SoC主要可以讓這些operators加速 (下圖是一部分,請參考連結) https://www.kneron.com/forum/uploads/832/43KZV43Y1NI3.png Hardware Supported Operators - Document Center (kneron.com)
-
Hi, KL520可以在Raspberry Pi Zero 2上使用,不過Kneron PLUS裡面的Python檔可能會不能用,所以會需要您用C去build,還有安裝libusb。
-
Hi, 在解壓縮大型檔案的時候,請確認您有將所有的檔案完整下載之後再來進行解壓縮。 e.g. 要解壓縮Kneron_Raspberry_Pi_4_v1.1.zip的話,請下載所有下列的檔案: Kneron_Raspberry_Pi_v1.1.zip.001 Kneron_Raspberry_Pi_v1.1.zip.002 Kneron_Raspberry_Pi_v1.1.zip.003 …
-
Hi, 您的第一張圖片的code中的GenericRawImageHeader是可以在v2.1.1上跑,不過是在python的example_legacy之中的code,需要呼叫kp.v1才可以成功地跑喔 如果您希望用類似v1.3.0的code (包含GenericRawImageHeader),您可以參考一下kneron_plus/python/example_legacy裡…
-
Hi, 不好意思這麼晚回覆! 如果onnx檔的結果不錯,但nef檔的結果不理想,可以試著用E2E Simulator來測試和比較結果: End to End Simulator - Document Center (kneron.com) 兩種不同的模型compile為一個nef檔,可以在一個執行檔上執行喔! 您可以參考一下C的kl630_demo_g…
-
Hi LinLi, 不好意思這麼晚回覆,可以請您確認一下: 「模型訓練時的正規化」,「模型量化時的正規化」,與「在KL720 Generic Data Inference的正規化」都是一致的嗎? 您也可以印出model_input_radix與model_input_scale (跟model的大小)來確認: https://www.kneron.com/…
-
Hi, 如果轉為onnx檔之後進行inference會有錯誤,有可能是因為轉換成onnx的時候操作有誤。可以請您提供用pt檔跑detect.py的結果嗎? 還有一個可能: 如果您的detect.py裡面有做postprocess,但inference.py裡面沒有做postprocess,也會導致前後結果不一致。
-
您好, connect_devices_without_check是Kneron PLUS v2.0.0以上的API,並沒有在Kneron PLUS v1.3.0裡面喔。 參考文檔在這裡: kp.core - Document Center (kneron.com) 請確認您的Kneron PLUS的版本是v2.0.0以上,然後將python/package裡面的.whl檔用pip install Kner…
-
Hi Thao, Where are the nef files from, are they generated by the Kneron toolchain, or somewhere else? Adding onto that, if you generated the .nef files using the Kneron toolchain, you should be able to combine them together into an .nef file. It wou…
-
Hi, 不好意思,我們的toolchain不支持動態輸入尺寸,所以跑toolchain之前需要先設定好解析度。
-
您好, 順帶一題,如果要用KNERON_FD_MASK_MBSSD_200_200_3來做inference的話: -可以把KNERON_FD_MASK_MBSSD_200_200_3的model (models_520.nef) (在Kneron PLUS的models的ssd_fd_lm裡面) 放在firmware/utils/bin_gen/flash_bin裡面 (原本裡面的model_520.nef是TINY_YO…
-
您好, KL520_SDK裡面的models_520.nef裡面只有包含TINY_YOLO_V3_224_224_3,沒有KNERON_FD_MASK_MBSSD_200_200_3,所以host_mipi會跑不起來(如果用UART console,可以看到會顯示scpu error)。 還有,send_to_inference_queue()裡面的total_size是yolo的格式,而demo_c…
-
您好, 可以在Zadig的Options勾選List All Devices,應該就可以看得到KL520的dongle (unknown device)了。如果沒看到,請再跟我們說,謝謝! https://www.kneron.com/forum/uploads/538/FCBR8XCQQ5OJ.png
-
Hi Alan, 謝謝您提供資訊! 如果用Windows跑也會失敗的話,就不是Linux的問題了。 我們會建議您的dongle用super speed來跑inference會比較好! (因為太慢會inference timeout) 可以再麻煩您重新燒firmware (fw_scpu.bin跟fw_ncpu.bin)到KL720的dongle上,再試著跑inferen…
-
Hi Alan, 謝謝您的協助! ScanDevices.py的結果看起來都很正常。關於Ubuntu的系統,可以請您提供Ubuntu的資訊的截圖嗎? (像說CPU的種類) 其他USB3.0的線應該是可以用! 為了排除USB供電的可能性,能否請您改用別的USB port再試試看,並確保電腦其他的USB port沒有連接其…
-
Hi Alan, 好的,謝謝回答~ 如果是這樣的話,可以再麻煩您提供在Ubuntu上的DFUT連到KL720的截圖嗎? 或是跑一次ScanDevice.py,確認dongle有連到電腦 然後,可能還要請您用C跑一次kl720_demo_generic_image_inference,如果可以成功跑的話,有可能是python package的問題…
-
Hi Alan, 謝謝您提供資訊! 我有去用Ubuntu的電腦燒一樣的firmware也用了一樣的Kneron PLUS,可以跑KL720DemoGenericImageInference.py 這個KP_FW_INFERENCE_TIMEOUT_103 error原因有很多種,所以可以請您確認一下: -您的電腦的hub有外接別的東西嗎? 因為KL720比KL520耗…
-
Hi Alan, 謝謝您提供資訊! 如果用的是開發板,可以將UART接出後透過teraterm或putty等終端機程式確認firmware版本。如果用的是KL720 dongle,可以用GenericCommand.py --target KL720來查看firmware版本: https://www.kneron.com/forum/uploads/735/OHKCPYYNFWHE.png …
-
Hi Alan, 謝謝您的KL720DemoGenericImageInferencePostYolo.py,看起來沒有問題! 模型跟圖片也都是原本的 KL720的firmware (SCPU跟NCPU)在Ubuntu的kneron_plus/res/firmware/KL720裡面,版本資訊也在裡面,是2.1.0。KL720需要事先upload firmware在flash上才能成功跑in…
-
Hi Alan, 請問一下,您是否有去改.py檔,或是模型或圖片呢? 如果有的話,可以麻煩您提供您使用的.py檔,模型,圖片,跟firmware (SCPU跟NCPU)嗎? 謝謝!
-
Hi Shawn, "Sending data (image) size exceeds firmware buffer size" error是因為您的圖片超過KL520的firmware buffer size。 您可以 -試著用比較小的圖片,或是 -參考kl520_demo_generic_data_inference.c,用kp_generic_data_inference_send來繞過這個限…
-
Hi Jingyuan, 1. Firmware is something that could be uploaded onto your KL520/KL720 device. When you run Kneron PLUS example programs, the software sets the parameters and tells the firmware to continue with the inferencing, and the firmware communic…
-
Hi Jingyuan, May you explain the issue more? Where are the .nef files from? If you'd like to use Kneron PLUS, you could download it here: https://www.kneron.com/en/support/developers/ https://www.kneron.com/forum/uploads/417/IAG06KSB9Y7P.png And yo…
-
Hi Jingyuan, The OpenCV issue you asked in the other thread has been answered, but you could check if you've followed the instructions on this documentation (for Windows): Install Dependency - Document Center (kneron.com) About the command not found…
-
Hi Jingyuan, Unfortunately, there isn't enough information for us to see if the firmware is loading forever based on your screenshot. It usually takes a while to load firmware, so please wait for them to finish loading.
-
Hi Jingyuan, For the OpenCV issue, have you added the path and environment values yet? The documentation on installing and setting up OpenCV can be found here: Install Dependency - Document Center (kneron.com) Please feel free to check if you've fol…
-
Hi Hyun, Sorry for the late reply. Could you provide more information on the issue, such as what command you ran and what message you got (in a screenshot)? It would also be helpful for us if you could provide the two models, but it wasn't convenien…
-
Hi Hyun, Sorry for the late reply. If your model only contains operators supported by our KL720, and it gets stuck at km.evaluate(), it might be because you haven't converted the .onnx file into the .onnx file supported by our toolchain. Could you c…
-
Hi Pin, 是有一個方法: 在插著KL520 dongle的時候按dongle上的reset button三下(要有一定的間隔),再來用scan_devices來找出dongle。失敗的話,再用不同的間隔按reset button三次,再用scan_devices。如果試了很多種間隔都還是不行的話,有可能會需要您寄dongle來給我…