v851s使用yolo3 demo错误 ,如何优化,如何处理
-
这个能否优化,如何处理,看是内存不够,如何优化?
root@TinaLinux:/mnt/UDISK# ls 416.jpg overlay root@TinaLinux:/mnt/UDISK# yolov3 /etc/models/yolov3_model.nb 416.jpg [0xb6f0d560]vip_init[104], [ 415.175677] npu[3fd][3fd] vipcore, device init.. The version of Viplite is: 1.8[ 415.183082] set_vip_power_clk ON .0-0-AW-2022-04-21 [ 415.191511] enter aw vip mem alloc size 52428800 [ 415.196750] ion_alloc failed!!npu[3fd][3fd] gckvip_drv_init kernel logical phy address=0 x0 virtual =0x0 [ 415.207929] Unable to handle kernel paging request at virtual address 031f3810 [ 415.216136] pgd = c1d8c000 [ 415.219189] [031f3810] *pgd=00000000 [ 415.223248] Internal error: Oops: 805 [#1] PREEMPT ARM [ 415.228995] Modules linked in: vin_v4l2 gc2053_mipi vin_io videobuf2_v4l2 videobuf2_dma_c ontig videobuf2_memops videobuf2_core xradio_wlan xradio_core xradio_mac [ 415.245199] CPU: 0 PID: 1021 Comm: yolov3 Not tainted 4.9.191 #1 [ 415.251918] Hardware name: sun8iw21 [ 415.255819] task: c37403c0 task.stack: c1d6c000 [ 415.260896] PC is at gckvip_heap_construct+0x8c/0x11c [ 415.266548] LR is at 0x14 [ 415.269476] pc : [<c03a77f8>] lr : [<00000014>] psr: 80000013 [ 415.269476] sp : c1d6dca8 ip : 00000000 fp : 00000ab8 [ 415.282325] r10: 00000000 r9 : 02800000 r8 : 00000a00 [ 415.288171] r7 : 00000000 r6 : c0a64b44 r5 : 031f3800 r4 : 00000a00 [ 415.295470] r3 : 00000001 r2 : 031f3800 r1 : cdcdcdcd r0 : c0a64b40 [ 415.302776] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 415.310761] Control: 10c5387d Table: 41d8c059 DAC: 00000051 [ 415.317185] Process yolov3 (pid: 1021, stack limit = 0xc1d6c208) [ 415.323902] Stack: (0xc1d6dca8 to 0xc1d6e000) [ 415.328780] dca0: c0a64b40 00000000 03200000 c0a64aa0 00000000 c03a7dd0 [ 415.337936] dcc0: 00000000 00000000 00000a00 c03ace80 c0a64aa0 00000001 c2364000 c0a64aa0 [ 415.347087] dce0: 00000000 00000000 00000000 000014c8 000003fd c03a3630 00000018 c2365000 [ 415.356243] dd00: 00000000 c1d6dd98 bef718a0 00000004 00000051 bef718a0 c1d6c000 00000036 [ 415.365394] dd20: 00000000 c03a3bf8 00000000 c340c000 00000001 c1d6ddb8 0000000a c0147370 [ 415.374545] dd40: c35d4e00 00000000 c35d4e00 bef718a0 00000004 00000051 c1d6dd98 bef718a0 [ 415.383696] dd60: 00000004 00000051 bef718a0 c03ab194 c0a17160 00000000 c340c000 00000000 [ 415.392853] dd80: 00000000 b6f0c2b8 00000004 b6f0e1a0 bef71964 00000000 03200000 c1d6ded8 [ 415.402004] dda0: c0a146f0 ffffe000 c0a146f0 c1d6ddc8 c0a4965c 60000013 00000000 c36aed80 [ 415.411155] ddc0: c0a29278 ffffe000 c0a29278 c1d6dde8 c0a4965c 60000013 c1d90a80 c1d90a88 [ 415.420306] dde0: 00000000 c06848e4 00000001 c1d6dde8 00000001 c0a29278 c1d90a80 c36aed80 [ 415.429463] de00: c3719028 c03aafa4 c0a292bc 00000000 c2812c8c 00000000 00000000 c02f11c0 [ 415.438614] de20: c27f2d00 00000000 00000000 c01d34c4 c1d6ded8 00000000 00000018 ffffff9c [ 415.447770] de40: c1d6ded8 c01beefc 00000000 c1d6ded8 c1d90a80 c01c3b9c 00000001 00000001 [ 415.456921] de60: c1d6df7c 00000000 c1d6c000 00020002 c28023b8 00000001 00000041 00000006 [ 415.466072] de80: 00000000 00000000 c1d2bcc0 c037bfe8 c037f99c 00000002 00000002 c3719028 [ 415.475223] dea0: c27f2d10 c2812c38 c1d2bcc0 00000001 c037c04c 00000003 c1d6df7c 00000001 [ 415.484375] dec0: ffffff9c c0106f48 c1d6c000 00000005 00000000 c01c3c70 c27f2d10 c2812c38 [ 415.493526] dee0: 32504bcc 00000007 c370c015 82737029 00000000 c28a8220 c3719028 bef718a0 [ 415.502677] df00: c3719028 c1d90a80 00007530 c01c5b48 bef718a0 c01c6434 b6e36c4b 00000001 [ 415.511828] df20: 00024000 00025000 00100873 c019f4fc c1d90cc0 c1d90a80 00000000 c01d1878 [ 415.520980] df40: 00000003 c1d90cc0 c3401b80 c370c000 00000000 00000003 c1d90a80 c370c000 [ 415.530123] df60: ffffff9c c0106f48 c1d6c000 00000003 c1d90a80 c1d90a80 00007530 bef718a0 [ 415.539274] df80: c1d6c000 00000036 00000000 c01c65bc 00000000 b6e49fa0 b6e0f818 00000036 [ 415.548425] dfa0: c0106f48 c0106d20 00000000 b6e49fa0 00000003 00007530 bef718a0 bef71890 [ 415.557576] dfc0: 00000000 b6e49fa0 b6e0f818 00000036 bef71964 00000000 00000020 00000000 [ 415.566727] dfe0: b6e2049c bef71878 b6e0df3c b6ec0870 80000010 00000003 00000000 00000000 [ 415.575891] [<c03a77f8>] (gckvip_heap_construct) from [<c03a7dd0>] (gckvip_mem_heap_init+ 0xe0/0x118) [ 415.586114] [<c03a7dd0>] (gckvip_mem_heap_init) from [<c03a3630>] (do_init+0x4b8/0x700) [ 415.595077] [<c03a3630>] (do_init) from [<c03a3bf8>] (gckvip_kernel_call+0xa0/0x9ec) [ 415.603751] [<c03a3bf8>] (gckvip_kernel_call) from [<c03ab194>] (drv_ioctl+0x10c/0x38c) [ 415.612716] [<c03ab194>] (drv_ioctl) from [<c01c5b48>] (vfs_ioctl+0x18/0x3c) [ 415.620611] [<c01c5b48>] (vfs_ioctl) from [<c01c6434>] (do_vfs_ioctl+0x794/0x8e8) [ 415.628989] [<c01c6434>] (do_vfs_ioctl) from [<c01c65bc>] (SyS_ioctl+0x34/0x5c) [ 415.637176] [<c01c65bc>] (SyS_ioctl) from [<c0106d20>] (ret_fast_syscall+0x0/0x54) [ 415.645655] Code: e1530004 15902028 1022239e 12833001 (15821010) [ 415.652746] ---[ end trace bbd8e339bc884c65 ]---
-
内存不够,可以换用yolov3-tiny
yolov3: 50M
yolov3 tiny:17M -
@whycanservice 你那有 yolov3-tiny 的模型吗
-
怎么把yolov3的demo编译进镜像中呢?
-
@mysteryli
你就按照1 这个 一步步
https://v853.docs.aw-ol.com/npu/npu_demo/
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号