Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object Detection运行run脚本的时候报错 #10504

Open
bb0928 opened this issue Apr 24, 2024 · 6 comments
Open

Object Detection运行run脚本的时候报错 #10504

bb0928 opened this issue Apr 24, 2024 · 6 comments
Assignees

Comments

@bb0928
Copy link

bb0928 commented Apr 24, 2024

  • 版本、环境信息:
       1)Paddle Lite 版本:请提供您的 Paddle Lite 版本号(如v2.10)或 CommitID
       2)Host 环境:Ubuntu 20.04
       3)运行设备环境:Ubuntu 20.04
       4)预测后端信息:Edgeboard DK1A
    按照教程运行picodet_detection
  • 问题描述:sh run.sh出现如下警告,程序自动终止
  • [ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
    [I 4/24 17:39:14.917 ...r/src/driver/verisilicon_timvx/engine.cc:43 Context] properties:
    [I 4/24 17:39:14.917 ...r/src/driver/verisilicon_timvx/engine.cc:53 Context] bn_fusion_max_allowed_quant_scale_deviation: 30000
    [W 4/24 17:39:14.918 ...ter/nnadapter/src/runtime/compilation.cc:334 Finish] Warning: Failed to create a program, No model and cache is provided.
    [W 4/24 17:39:14.918 ...le-Lite/lite/kernels/nnadapter/engine.cc:149 LoadFromCache] Warning: Build model failed(3) !
    [W 4/24 17:39:14.981 ...nnadapter/nnadapter/src/runtime/model.cc:86 GetSupportedOperations] Warning: Failed to get the supported operations for device 'verisilicon_timvx', because the HAL interface 'validate_program' is not implemented!
    [W 4/24 17:39:14.981 ...kernels/nnadapter/converter/converter.cc:171 Apply] Warning: Failed to get the supported operations for the selected devices, one or more of the selected devices are not supported!
    [I 4/24 17:39:14.982 ...r/src/driver/verisilicon_timvx/driver.cc:70 CreateProgram] Create program for verisilicon_timvx.
    [ 1] Failed to open device: No such file or directory, Try again...
    [ 2] Failed to open device: No such file or directory, Try again...
    [ 3] Failed to open device: No such file or directory, Try again...
    [ 4] Failed to open device: No such file or directory, Try again...
    [ 5] _OpenDevice(1086): FATAL: Failed to open device, errno=No such file or directory.
@zhupengyang
Copy link
Collaborator

  • 目前没有验证过Edgeboard DK1A这个板子是否支持timvx的方式,需要咨询下厂商是否可以支持timvx(一般来说需要有合适的驱动版本,这个也需要和厂商确认)

@bb0928
Copy link
Author

bb0928 commented Apr 25, 2024

@zhupengyang 您好,感谢回复,我不太懂NPU,改了很久源代码依旧报错。想请问这个型号的板子有没有摄像头目标检测的开源demo呢,求推荐,多谢!

@zhupengyang
Copy link
Collaborator

有其它的 ARMLinux开发版示例 可以参考,不过还是需要根据你的实际情况进行修改

@bb0928
Copy link
Author

bb0928 commented Apr 26, 2024 via email

@zhupengyang
Copy link
Collaborator

官方示例就是这个了。其它示例需要自己找找了哦~

@zhupengyang
Copy link
Collaborator

zhupengyang commented Apr 26, 2024

https://ai.baidu.com/ai-doc/HWCE/Olq3rvysr
Edgeboard DK1A 的推理参考这个文档,用 PPNC 去推理和部署

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants