diff --git a/examples/tm_yolov4_tiny.cpp b/examples/tm_yolov4_tiny.cpp index 512baed34ceb267283c62df7ed9d581add3e2e1b..b05352f0be16b6bbb4d8aba164fbdef409d5da06 100644 --- a/examples/tm_yolov4_tiny.cpp +++ b/examples/tm_yolov4_tiny.cpp @@ -168,7 +168,7 @@ void get_input_data_yolov4(const char* image_file, float* input_data, int img_h, static void generate_proposals(int stride, const float* feat, float prob_threshold, std::vector& objects) { - static float anchors[12] = {10, 14, 23, 27, 37, 58, 81, 82, 135, 169, 344, 319}; + static float anchors[12] = {23, 27, 37, 58, 81, 82, 81, 82, 135, 169, 344, 319}; int anchor_num = 3; int feat_w = 416 / stride; int feat_h = 416 / stride; diff --git a/examples/tm_yolov4_tiny_timvx.cpp b/examples/tm_yolov4_tiny_timvx.cpp index a5b0e7822966cfb6b8c94cb1c7280913e4f05653..826d3fc4eed438d7139965ca5aedc2d563bb6372 100644 --- a/examples/tm_yolov4_tiny_timvx.cpp +++ b/examples/tm_yolov4_tiny_timvx.cpp @@ -176,7 +176,7 @@ void get_input_data_yolov4_uint8(const char* image_file, uint8_t* input_data, in static void generate_proposals(int stride, const float* feat, float prob_threshold, std::vector& objects) { - static float anchors[12] = {10, 14, 23, 27, 37, 58, 81, 82, 135, 169, 344, 319}; + static float anchors[12] = {23, 27, 37, 58, 81, 82, 81, 82, 135, 169, 344, 319}; int anchor_num = 3; int feat_w = 416 / stride; int feat_h = 416 / stride; diff --git a/examples/tm_yolov4_tiny_uint8.cpp b/examples/tm_yolov4_tiny_uint8.cpp index 56f60fd8e763dbf4eedd2409b07da6946d805ec7..3989336cd26a8481bc3ba29b7562c3afd8bd3c39 100644 --- a/examples/tm_yolov4_tiny_uint8.cpp +++ b/examples/tm_yolov4_tiny_uint8.cpp @@ -176,7 +176,7 @@ void get_input_data_yolov4_uint8(const char* image_file, uint8_t* input_data, in static void generate_proposals(int stride, const float* feat, float prob_threshold, std::vector& objects) { - static float anchors[12] = {10, 14, 23, 27, 37, 58, 81, 82, 135, 169, 344, 319}; + static float anchors[12] = {23, 27, 37, 58, 81, 82, 81, 82, 135, 169, 344, 319}; int anchor_num = 3; int feat_w = 416 / stride; int feat_h = 416 / stride;