espressif / esp-dl

Espressif deep-learning library for AIoT applications
MIT License
516 stars 115 forks source link

Human face detection Guru Meditation Error (AIV-561) #106

Open akhud78 opened 1 year ago

akhud78 commented 1 year ago

Hello! I'm trying to use Human Face Detection example with images from this dataset and I'm getting an Guru Meditation Error on this image. I use the script convert_to_u8.py.

Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x420525a0  PS      : 0x00060930  A0      : 0x82016ed4  A1      : 0x3fcf52f0  
0x420525a0: tie728_s16_depthwise_conv2d_hwc1_relu_loop at /home/gansichen/Workspace/projects/aigit/master/dl/components/dl/base/isa/tie728/dl_tie728_s16_depthwise_conv2d_block.S:801

A2      : 0x3fce3198  A3      : 0x3fce2c72  A4      : 0x3fce2c34  A5      : 0x000004ce  
A6      : 0x00000040  A7      : 0xffffffc0  A8      : 0xffffff50  A9      : 0x00000003  
A10     : 0x00000010  A11     : 0x02e90414  A12     : 0x00510000  A13     : 0x00000000  
A14     : 0x00000000  A15     : 0x00000000  SAR     : 0x00000005  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x000004c0  LBEG    : 0x420525fc  LEND    : 0x4205260a  LCOUNT  : 0xffffffff  
0x420525fc: tie728_s16_depthwise_conv2d_hwc1_relu_loop at /home/gansichen/Workspace/projects/aigit/master/dl/components/dl/base/isa/tie728/dl_tie728_s16_depthwise_conv2d_block.S:801

0x4205260a: tie728_s16_depthwise_conv2d_hwc1_relu_loop at /home/gansichen/Workspace/projects/aigit/master/dl/components/dl/base/isa/tie728/dl_tie728_s16_depthwise_conv2d_block.S:801
...

Faces in most other images are detected normally. For example, the result of processing another image

[0] score: 0.996136, box: [67, 129, 260, 371]
    left eye: (126, 218), right eye: (212, 214)
    nose: (174, 272)
    mouth left: (136, 306), mouth right: (210, 302)

Is it a feature of a particular image? Unfortunately, the error causes the device to reboot and this is very bad.