From 357844cd2844332c697b5dbfcbccc63e3051f319 Mon Sep 17 00:00:00 2001 From: lindsayshuo <932695342@qq.com> Date: Sat, 30 Mar 2024 18:09:00 +0800 Subject: [PATCH] Update yolov8_det.cpp --- yolov8/yolov8_det.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yolov8/yolov8_det.cpp b/yolov8/yolov8_det.cpp index 836a6bb4..990c7278 100644 --- a/yolov8/yolov8_det.cpp +++ b/yolov8/yolov8_det.cpp @@ -115,7 +115,6 @@ bool parse_args(int argc, char **argv, std::string &wts, std::string &engine, bo wts = std::string(argv[2]); engine = std::string(argv[3]); auto sub_type = std::string(argv[4]); - if (sub_type[0] == 'n') { gd = 0.33; gw = 0.25; @@ -255,4 +254,4 @@ int main(int argc, char **argv) { //std::cout << std::endl; return 0; -} \ No newline at end of file +}