ncnn 在推理正常,但是在 删除 引用的时候 报段错误

ijnw1ujt  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(43)

detect obj num:9 cost time:2314
obj x:4.673393 y:228.063690 w:196.402435 h:116.805939 score:0.561646 classIdx:60
obj x:173.042801 y:232.075638 w:112.907333 h:113.167618 score:0.567700 classIdx:56
obj x:174.967896 y:230.491074 w:74.278595 h:80.893539 score:0.599618 classIdx:56
obj x:361.533539 y:243.954193 w:53.466461 h:98.791504 score:0.545068 classIdx:57
obj x:33.818588 y:274.415833 w:68.665482 h:70.619263 score:0.429764 classIdx:56
obj x:0.888340 y:265.486572 w:47.918697 h:79.551392 score:0.490694 classIdx:56
obj x:286.172455 y:208.169098 w:43.956177 h:80.977478 score:0.451856 classIdx:56
obj x:321.473633 y:186.886047 w:23.149078 h:23.995758 score:0.663734 classIdx:58
obj x:153.310181 y:227.955872 w:35.006943 h:15.838135 score:0.404808 classIdx:56
detect obj num:7 cost time:2183
obj x:7.879723 y:231.250916 w:191.104675 h:112.899353 score:0.560697 classIdx:60
obj x:172.915634 y:230.914734 w:104.608597 h:114.146881 score:0.453430 classIdx:56
obj x:174.541565 y:230.727875 w:73.884277 h:78.164825 score:0.605337 classIdx:56
obj x:280.725739 y:157.726334 w:36.280151 h:135.231247 score:0.490468 classIdx:0
obj x:34.033257 y:274.627014 w:58.686310 h:70.712402 score:0.505099 classIdx:56
obj x:0.901962 y:265.947113 w:42.286816 h:78.641479 score:0.475438 classIdx:56
obj x:321.956238 y:187.658875 w:22.841614 h:24.733185 score:0.664144 classIdx:58
detect obj num:7 cost time:2221
obj x:7.437271 y:228.408173 w:192.651138 h:114.264496 score:0.542850 classIdx:60
obj x:172.424652 y:231.081039 w:111.037445 h:114.332596 score:0.544498 classIdx:56
obj x:33.873024 y:274.863159 w:79.053642 h:70.190491 score:0.483519 classIdx:56
obj x:175.035431 y:227.710510 w:69.835922 h:75.174408 score:0.437660 classIdx:56
obj x:0.857275 y:265.474243 w:46.600784 h:79.825989 score:0.511422 classIdx:56
obj x:291.262909 y:208.702454 w:36.599121 h:80.484192 score:0.459455 classIdx:56
obj x:321.513214 y:187.349869 w:23.192261 h:23.786713 score:0.637852 classIdx:58
detect obj num:9 cost time:2168
obj x:6.149544 y:230.265182 w:184.073792 h:113.915421 score:0.565355 classIdx:60
obj x:172.849548 y:231.571487 w:110.645325 h:113.990463 score:0.529635 classIdx:56
obj x:174.723984 y:231.255676 w:73.014221 h:77.218719 score:0.629520 classIdx:56
obj x:363.950500 y:243.871933 w:51.049500 h:96.776596 score:0.406449 classIdx:56
obj x:33.624363 y:274.270020 w:68.946442 h:70.663696 score:0.408107 classIdx:56
obj x:0.907490 y:265.505859 w:50.075199 h:79.319885 score:0.445704 classIdx:56
obj x:288.819000 y:208.768036 w:39.411163 h:80.280914 score:0.448313 classIdx:56
obj x:159.949463 y:165.113144 w:29.112885 h:70.165268 score:0.544931 classIdx:0
obj x:321.924103 y:187.601334 w:22.839355 h:23.774948 score:0.652504 classIdx:58
detect obj num:8 cost time:2173
obj x:7.899742 y:227.551483 w:192.705444 h:116.814972 score:0.565284 classIdx:60
obj x:172.842041 y:231.972534 w:113.669037 h:113.525421 score:0.499003 classIdx:56
obj x:174.819305 y:230.324921 w:72.495544 h:77.320374 score:0.644513 classIdx:56
obj x:34.191822 y:275.162384 w:63.406353 h:70.156067 score:0.546688 classIdx:56
obj x:288.021851 y:209.101761 w:40.168793 h:79.784592 score:0.441149 classIdx:56
obj x:0.787195 y:265.900726 w:40.203094 h:79.093597 score:0.512407 classIdx:56
obj x:112.920067 y:167.573242 w:28.212257 h:70.501892 score:0.725714 classIdx:0
obj x:321.413269 y:186.882217 w:23.866333 h:25.438553 score:0.623724 classIdx:58
detect obj num:9 cost time:2174
obj x:7.768440 y:229.571686 w:192.370209 h:114.815216 score:0.570871 classIdx:60
obj x:172.938614 y:231.928162 w:111.340714 h:113.474884 score:0.498428 classIdx:56
obj x:174.242371 y:230.454498 w:73.354340 h:81.320740 score:0.610691 classIdx:56
obj x:363.888062 y:243.431519 w:51.111938 h:94.067841 score:0.401806 classIdx:56
obj x:34.003574 y:274.659058 w:63.048138 h:70.344086 score:0.432595 classIdx:56
obj x:287.498291 y:208.307632 w:40.705658 h:80.401810 score:0.441220 classIdx:56
obj x:0.938725 y:265.982330 w:40.842625 h:79.243866 score:0.516950 classIdx:56
obj x:65.272522 y:171.218277 w:32.294487 h:57.328934 score:0.671209 classIdx:0
obj x:321.506836 y:187.222519 w:23.481262 h:25.446213 score:0.634635 classIdx:58
detect obj num:8 cost time:2217
obj x:3.556007 y:226.954941 w:196.783661 h:117.870621 score:0.573896 classIdx:60
obj x:172.882736 y:232.041260 w:112.757462 h:113.712036 score:0.576402 classIdx:56
obj x:174.867340 y:230.305740 w:73.189819 h:78.372147 score:0.603499 classIdx:56
obj x:364.066254 y:243.921829 w:50.933746 h:93.647507 score:0.404545 classIdx:56
obj x:0.927019 y:265.294708 w:46.487816 h:81.057861 score:0.529512 classIdx:56
obj x:286.756195 y:208.995743 w:41.128082 h:79.973343 score:0.400625 classIdx:56
obj x:34.845772 y:170.044449 w:22.742767 h:64.374649 score:0.620064 classIdx:0
obj x:322.077271 y:187.748764 w:22.911835 h:24.107925 score:0.648861 classIdx:58
detect obj num:10 cost time:2209
obj x:6.410957 y:226.641724 w:193.397461 h:117.133301 score:0.576903 classIdx:60
obj x:173.644409 y:231.792511 w:112.499420 h:113.418152 score:0.503515 classIdx:56
obj x:174.526230 y:230.420654 w:74.037262 h:80.150574 score:0.622798 classIdx:56
obj x:364.825867 y:243.889587 w:50.174133 h:89.570129 score:0.416971 classIdx:57
obj x:34.059433 y:274.838928 w:61.322250 h:70.163849 score:0.462053 classIdx:56
obj x:0.947462 y:265.649475 w:44.871223 h:79.836548 score:0.524456 classIdx:56
obj x:32.071442 y:168.884094 w:47.179413 h:66.929855 score:0.663199 classIdx:0
obj x:274.596344 y:208.149689 w:33.978271 h:79.268768 score:0.408667 classIdx:56
obj x:294.705109 y:208.753738 w:33.980927 h:76.708359 score:0.445192 classIdx:56
obj x:322.129395 y:187.925262 w:23.234680 h:23.931030 score:0.666265 classIdx:58
detect obj num:9 cost time:2190
obj x:3.383423 y:225.573944 w:196.597336 h:119.117279 score:0.556080 classIdx:60
obj x:173.137863 y:231.803528 w:114.286057 h:113.726685 score:0.613341 classIdx:56
obj x:175.021530 y:230.233093 w:73.453354 h:77.074310 score:0.629590 classIdx:56
obj x:364.596039 y:243.703827 w:50.403961 h:93.617249 score:0.420613 classIdx:57
obj x:0.988079 y:265.094238 w:48.068172 h:80.520660 score:0.537279 classIdx:56
obj x:288.476898 y:207.774384 w:39.406036 h:80.627594 score:0.443610 classIdx:56
obj x:45.940037 y:166.630005 w:34.193569 h:66.188492 score:0.721675 classIdx:0
obj x:153.031876 y:226.433151 w:35.437561 h:16.888168 score:0.417385 classIdx:56
obj x:322.107239 y:187.649536 w:23.333405 h:23.589050 score:0.661416 classIdx:58
detect obj num:8 cost time:2190
obj x:8.731934 y:229.402786 w:191.822113 h:114.430557 score:0.570762 classIdx:60
obj x:172.778885 y:232.195190 w:113.212753 h:113.640839 score:0.610444 classIdx:56
obj x:175.151443 y:230.411255 w:74.041412 h:76.984283 score:0.602975 classIdx:56
obj x:0.834658 y:265.264587 w:48.067169 h:79.844513 score:0.503532 classIdx:56
obj x:287.461853 y:208.173340 w:40.647827 h:80.770599 score:0.439043 classIdx:56
obj x:105.678299 y:166.496841 w:25.890427 h:68.786057 score:0.713394 classIdx:0
obj x:322.157684 y:187.823959 w:23.117371 h:23.818695 score:0.658425 classIdx:58
obj x:153.032806 y:227.776413 w:34.586563 h:15.786072 score:0.421182 classIdx:56
detect obj num:9 cost time:2190
obj x:8.818466 y:230.690704 w:188.778183 h:113.707489 score:0.565826 classIdx:60
obj x:173.066635 y:232.367096 w:113.018234 h:113.255066 score:0.565708 classIdx:56
obj x:175.395386 y:230.893280 w:73.336319 h:82.435944 score:0.598331 classIdx:56
obj x:33.726837 y:275.015930 w:67.385910 h:70.090424 score:0.482208 classIdx:56
obj x:365.660675 y:244.449539 w:49.339325 h:87.528519 score:0.433933 classIdx:57
obj x:0.881721 y:265.792114 w:47.572128 h:79.435089 score:0.505875 classIdx:56
obj x:291.875854 y:208.879547 w:36.640961 h:77.636841 score:0.464124 classIdx:56
obj x:151.611526 y:163.999756 w:28.104233 h:72.029449 score:0.704363 classIdx:0
obj x:322.138794 y:187.860291 w:23.267120 h:23.983032 score:0.665189 classIdx:58
detect obj num:10 cost time:2180
obj x:7.153244 y:229.096924 w:193.540207 h:114.327667 score:0.531408 classIdx:60
obj x:173.206512 y:231.678497 w:112.593658 h:114.233795 score:0.568993 classIdx:56
obj x:174.371429 y:227.891342 w:72.708923 h:79.183029 score:0.545102 classIdx:56
obj x:33.858822 y:274.613098 w:76.832474 h:70.201355 score:0.425077 classIdx:56
obj x:364.215759 y:243.355286 w:50.784241 h:93.622803 score:0.427246 classIdx:57
obj x:1.039194 y:265.201508 w:49.004196 h:80.518951 score:0.524479 classIdx:56
obj x:204.839340 y:162.196808 w:33.043808 h:116.880585 score:0.559455 classIdx:0
obj x:286.567535 y:208.709457 w:41.455536 h:80.303085 score:0.439883 classIdx:56
obj x:152.747864 y:226.409195 w:34.964493 h:16.831299 score:0.415866 classIdx:56
obj x:321.629822 y:187.377563 w:23.342743 h:24.520172 score:0.641926 classIdx:58
detect obj num:9 cost time:2185
obj x:3.625565 y:229.494431 w:195.405594 h:115.345535 score:0.565347 classIdx:60
obj x:173.038574 y:232.143814 w:114.252472 h:113.407669 score:0.573927 classIdx:56
obj x:175.292786 y:230.734879 w:73.271652 h:75.085922 score:0.653516 classIdx:56
obj x:265.975250 y:157.886108 w:38.205017 h:132.393890 score:0.476033 classIdx:0
obj x:365.167572 y:243.515701 w:49.832428 h:91.840256 score:0.447070 classIdx:57
obj x:0.845121 y:265.309174 w:47.329407 h:79.840210 score:0.505100 classIdx:56
obj x:296.553986 y:219.796951 w:32.743317 h:68.499435 score:0.423026 classIdx:56
obj x:321.774536 y:187.213821 w:23.812958 h:25.393707 score:0.658546 classIdx:58
obj x:152.893250 y:227.199905 w:35.337219 h:15.787766 score:0.413642 classIdx:56
detect obj num:9 cost time:2200
obj x:8.837425 y:228.295532 w:191.990906 h:114.571106 score:0.536043 classIdx:60
obj x:173.435272 y:231.763428 w:113.054321 h:113.472992 score:0.514852 classIdx:56
obj x:174.641129 y:230.389984 w:74.241440 h:78.568970 score:0.631275 classIdx:56
obj x:33.764179 y:274.658722 w:73.544800 h:70.345642 score:0.438025 classIdx:56
obj x:364.297729 y:244.211838 w:50.702271 h:97.237686 score:0.485122 classIdx:56
obj x:0.982777 y:265.092804 w:48.934765 h:80.737030 score:0.523745 classIdx:56
obj x:289.030457 y:208.317657 w:39.375702 h:81.164337 score:0.452751 classIdx:56
obj x:153.243240 y:227.065460 w:35.429382 h:16.196976 score:0.422516 classIdx:56
obj x:321.512451 y:187.416138 w:22.872345 h:23.301498 score:0.659058 classIdx:58
detect obj num:10 cost time:2150
obj x:10.098358 y:229.697845 w:190.631607 h:114.908478 score:0.589276 classIdx:60
obj x:173.006714 y:231.997177 w:113.640045 h:113.187759 score:0.539798 classIdx:56
obj x:175.025803 y:230.363113 w:73.856125 h:77.740463 score:0.611356 classIdx:56
obj x:363.472382 y:244.266144 w:51.527618 h:90.562103 score:0.547480 classIdx:56
obj x:374.250671 y:146.522659 w:40.749329 h:101.870590 score:0.689475 classIdx:0
obj x:0.714090 y:264.937439 w:47.642258 h:80.606293 score:0.532344 classIdx:56
obj x:288.253540 y:207.928848 w:39.745544 h:81.262436 score:0.470905 classIdx:56
obj x:330.987579 y:207.429352 w:34.497070 h:76.078857 score:0.407892 classIdx:56
obj x:153.250702 y:227.900879 w:35.191528 h:15.552887 score:0.404552 classIdx:56
obj x:322.106232 y:187.651993 w:22.826904 h:23.645187 score:0.673091 classIdx:58
FATAL ERROR! unlocked pool allocator destroyed too early
0x8b1130 still in use
0xb38ce0 still in use
0xb39ad0 still in use
0x77eae0 still in use
0x987bb0 still in use
0x990ed0 still in use
0xc0e7e0 still in use
0x996d00 still in use
0xc5f7d0 still in use
0xcaeca0 still in use
0xcfe170 still in use
0xd4d640 still in use
0xdd7310 still in use
0xe7aae0 still in use
0xf1e2b0 still in use
0xfc1a80 still in use
0x10501e0 still in use
0x106c450 still in use
0x10886c0 still in use
0x10a4930 still in use
0x10c0ba0 still in use
0x969b20 still in use
0x780140 still in use
0x1126040 still in use
0x1146b90 still in use
0x1157e70 still in use
0x11697c0 still in use
0x118a300 still in use
0x119b5e0 still in use
0x11ac8c0 still in use
Segmentation fault

环境

hi3559v200 linux

复现

1.初始化 加载模型
2.运行推理,获取结果
3.推理完成,删除NanoDet 对象

##代码如截图

相关问题