iovodov
2018-05-03 028696bf15efeca3acb3db8c42a96f7b9e0f55ff
refs
author iovodov <b@ovdv.ru>
Thursday, May 3, 2018 12:52 +0000
committer IlyaOvodov <b@ovdv.ru>
Thursday, May 3, 2018 13:33 +0000
commit028696bf15efeca3acb3db8c42a96f7b9e0f55ff
tree cba542bc72a6aa813239c9cc16830348deec73aa tree | zip | gz | tar | bzip2 | xz
parent 535353cdaad78714640c171fd797f281b0c49c28 view | diff
Output improvements for detector results:
When printing detector results, output was done in random order, obfuscating results for interpreting. Now:
1. Text output includes coordinates of rects in (left,right,top,bottom in pixels) along with label and score
2. Text output is sorted by rect lefts to simplify finding appropriate rects on image
3. If several class probs are > thresh for some detection, the most probable is written first and coordinates for others are not repeated
4. Rects are imprinted in image in order by their best class prob, so most probable rects are always on top and not overlayed by less probable ones
5. Most probable label for rect is always written first
Also:
6. Message about low GPU memory include required amount
3 files modified
100 ■■■■ changed files
src/box.h 3 ●●●●● diff | view | raw | blame | history
src/convolutional_layer.c 2 ●●● diff | view | raw | blame | history
src/image.c 95 ●●●● diff | view | raw | blame | history