Commit 7b95f98
Change resize to letterbox to keep model pre-processing consistent (wang-xinyu#1371)
* Update model.cpp
Fix class mode pooling layer
* Change resize to letterbox to keep model pre-processing consistent
Change resize to letterbox to keep model pre-processing consistent
* Update yolov5_cls.cpp
reuse the preprocess function
* Update calibrator.cpp
* Update calibrator.h
* Update yolov5_cls.cpp
* Update yolov5_cls.cpp
* Update calibrator.h
* Update yolov5_cls.cpp
---------
Co-authored-by: Wang Xinyu <[email protected]>1 parent 3271725 commit 7b95f98
3 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments