-
Notifications
You must be signed in to change notification settings - Fork 2k
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
利用jetson nano 部署后程序执行无输出 #383
Comments
哈罗,邮件收到了,我会尽快查看,回复,谢谢!
|
编译了MNN2.7.1 (设置MNN_CUDA=ON) 后,编译本项目,CMakeLists的内容修改之处: option( LINUX_FETCH_MNN "Fetch and build MNN from git" OFF ) HyperLPR-master\cpp\src\nn_module\mnn_adapter.h (21)的is_use_cuda设为false或true编译完都检测不到。 用下载的第三方库里的MNN-2.2.0,也没检测到。 |
nano@nano-desktop:~/HyperLPR-master/build_test$ ./UnitTest
|
MNN 2.7.1单元测试的结果: nano@nano-desktop:~/MNN-2.7.1/build$ ./run_test.out ========= check nchwTonhwc result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_float result ! ========= ========= check nchwTonhwc result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_float result ! ========= ========= check nchwTonhwc result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_float result ! ========= ========= check nchwTonhwc result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_float result ! ========= ========= check nchwTonhwc result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_float result ! ========= ========= check nchwTonhwc result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_float result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check NC4HW4_2_NC4HW4_IntType result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= ========= check nhwc_2_NC4HW4_2_nhwc_inttype result ! ========= |
感谢反馈,我会去找一台jetson nano尝试复现出问题 |
OpenCV版本4.5.2
MNN版本2.4.0, cmake选项为:
cmake -D CMAKE_BUILD_TYPE=Release
-D MNN_CUDA=ON ..
修改了HyperLPR-master\cpp\src\nn_module\mnn_adapter.h (21): is_use_cuda = true,
编译好动态链接库和DEMO后,执行
./PlateRecDemo ../hyperlpr3/resource/models/r2_mobile ../hyperlpr3/resource/images/test_img.jpg,
只打印一行The device support dot:0, support fp16:0, support i8mm: 0,
换几张图测试,results.plate_size始终是0。
The text was updated successfully, but these errors were encountered: