sephirothhua/DeepSort_yoloV3-HOG_feature

about adjust_dets ?

Closed this issue · 2 comments

Hi, this function is quite cumbersome, can you clarify it, please?
I need this because if I change the number of classes it throws an error,


*** Error in `./my_demo': free(): invalid next size (fast): 0x00000000532d7f40 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f6cd13cd7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f6cd13d637a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f6cd13da53c]
/usr/lib/libdarknet.so(free_detections+0x28)[0x7f6cd1d1f9b8]
./my_demo[0x40db9c]
./my_demo[0x40df9a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f6cd1376830]


.......


7f6cd78d9000-7f6cd78da000 rw-p 0001e000 08:05 1316123                    /lib/x86_64-linux-gnu/libudev.so.1.6.4
7f6cd78da000-7f6cd7905000 rw-p 00000000 00:00 0 
7f6cd7910000-7f6cd7911000 rw-p 00000000 00:00 0 
7f6cd7911000-7f6cd7915000 r--p 00000000 08:07 2630803                    /home/ixtiyor/.config/dconf/user
7f6cd7915000-7f6cd7916000 r--s 00000000 00:32 32                         /run/user/1000/dconf/user
7f6cd7916000-7f6cd7917000 r--p 00000000 08:05 1057446                    /usr/share/locale-langpack/en/LC_MESSAGES/gtk30.mo
7f6cd7917000-7f6cd7918000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7918000-7f6cd7919000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7919000-7f6cd791a000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd791a000-7f6cd791b000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd791b000-7f6cd791c000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd791c000-7f6cd791d000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd791d000-7f6cd791e000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd791e000-7f6cd791f000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd791f000-7f6cd7920000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7920000-7f6cd7921000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7921000-7f6cd7922000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7922000-7f6cd7923000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7923000-7f6cd7924000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7924000-7f6cd7925000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7925000-7f6cd7926000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7926000-7f6cd7927000 rw-s 00000000 00:06 542                        /dev/nvidiactl
7f6cd7927000-7f6cd7928000 r--p 00025000 08:05 1316469                    /lib/x86_64-linux-gnu/ld-2.23.so
7f6cd7928000-7f6cd7929000 rw-p 00026000 08:05 1316469                    /lib/x86_64-linux-gnu/ld-2.23.so
7f6cd7929000-7f6cd792a000 rw-p 00000000 00:00 0 
7ffd3e11d000-7ffd3e13c000 rwxp 00000000 00:00 0                          [stack]
7ffd3e13c000-7ffd3e13e000 rw-p 00000000 00:00 0 
7ffd3e19c000-7ffd3e19f000 r--p 00000000 00:00 0                          [vvar]
7ffd3e19f000-7ffd3e1a1000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)

You must train your own dataset and get your cfg file and the corresponding weight file under the project.

You must train your own dataset and get your cfg file and the corresponding weight file under the project.

Hi thanks for the response, i solved the issue but i do not remember exatly how, i think i forgot to change the number of features that hog going to output. But now it is working ok. Thanks.