完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
按照示例将face_detection编译好后,拷贝到sd卡中:
期待结果和实际结果 执行./face_detect_image.sh进行静态推理 崩溃并报错: msh /sdcard/face_det>./face_detect_image.shcase ./face_detection.elf built at May 14 2025 18:10:30kmodel_file:face_detection_320.kmodel[E/DBG] [FATAL ERROR] Exception 13:Load Page Fault[E/DBG] scause:0x000000000000000d,stval:0x0000003772ed370b,sepc:0x00000002003452a0--------------Dump Registers-----------------Function Registers: ra(x1) = 0x00000002003453ca() user_sp(x2) = 0x00000002ffffeed0() gp(x3) = 0x0000000000000000() tp(x4) = 0x0000000200b6bc00()Temporary Registers: t0(x5) = 0x0000000000000084() t1(x6) = 0x0000000000000007() t2(x7) = 0x0000000000000069() t3(x28) = 0x000000000000005f() t4(x29) = 0x0000000000000002() t5(x30) = 0x0000000000000065() t6(x31) = 0x0000000000000073()Saved Registers: s0/fp(x8) = 0x00000001002d0000() s1(x9) = 0x000000010031b020() s2(x18) = 0x00000002ffffeff8() s3(x19) = 0x0000000200b48058() s4(x20) = 0x0000000000000fe0() s5(x21) = 0x00000001002d0000() s6(x22) = 0x000000000004b000() s7(x23) = 0x0000000000000018() s8(x24) = 0x00000002fffff638() s9(x25) = 0x00000000deadbeef() s10(x26) = 0x00000000deadbeef() s11(x27) = 0x00000000deadbeef()Function Arguments Registers: a0(x10) = 0x0000000200b48058() a1(x11) = 0x000000010031b020() a2(x12) = 0x00000001002d0000() a3(x13) = 0x1537933437331737() a4(x14) = 0x1537933437331ba7() a5(x15) = 0x3a430c3772ed3703() a6(x16) = 0x0000000000000000() a7(x17) = 0x0000000000000000()sstatus = 0x8000000200046620 Supervisor Interrupt Disabled Last Time Supervisor Interrupt Enabled Last Privilege is User Mode Permit to Access User Page Not Permit to Read Executable-only Pagesatp = 0x80000000000047d2 Current Page Table(Physical) = 0x00000000047d2000 Current ASID = 0x0000000000000000 Mode = Page-based 39-bit Virtual Addressing Mode-----------------Dump OK---------------------riscv64-unknown-linux-musl-addr2line -e face_detection.elf -a -f 000000020034529c 882a14a22d14a426[E/DBG] User Fault, killing thread: face_detection.elf软硬件版本信息 自己编译的01版本rtt only,没有做任何配置 #############SDK VERSION######################################SDK : v1.3-rc-20250514-153913-shusheng-D-01117KD7-1705-d66e43cnncase: 2.9.0##############################################################调试内容及报错 在cmake中将编译模式改为Debug,于是CFLAG的-g3参数打开: shusheng@D-01117KD7-1705:~/ai_module/rtos_k230/src/rtsmart/examples/face_detection/k230_bin$ riscv64-unknown-linux-musl-addr2line -e face_detection.elf -a -f 0x00000002003452a00x00000002003452a0_ZN6nncase7runtime4k23013mmz_allocator12sanity_checkEv??:? 按照你的步骤做了测试,推理结果正常,你重新烧录一下固件试试。 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
AI_cube训练模型得到了npy文件,没有kmodel文件
775 浏览 0 评论
请问K230 V3.0版本烧录固件和使用IDE到底是烧录哪个啊?
741 浏览 0 评论
444浏览 4评论
AI Cube进行yolov8n模型训练,创建项目目标检测时显示数据集目录下存在除标注和图片外的其他目录如何处理?
465浏览 3评论
autodl算力云在.pt转换onnx文件时正常,但onnx转.kmodel文件时报错,为什么?
554浏览 2评论
如何在大核rtt上把kd_mpi_vicap_start_stream三个摄像头各自出的流拼成一个流呢?
172浏览 2评论
573浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-4 10:18 , Processed in 0.814874 second(s), Total 75, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
524
