From 8bedf492cf5d9b127ee94c6a04307251459ddb16 Mon Sep 17 00:00:00 2001 From: "Eric.Lee2021" <305141918@qq.com> Date: Fri, 26 Mar 2021 16:11:25 +0800 Subject: [PATCH] update --- components/hand_detect/yolo_v3_hand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/hand_detect/yolo_v3_hand.py b/components/hand_detect/yolo_v3_hand.py index 0002440..4161426 100644 --- a/components/hand_detect/yolo_v3_hand.py +++ b/components/hand_detect/yolo_v3_hand.py @@ -249,7 +249,7 @@ class yolo_v3_hand_model(object): self.nms_thres = nms_thres #----------------------------------------------------------------------- weights = model_path - if "-tiny" in model_arch: + if "tiny" in model_arch: a_scalse = 416./img_size anchors=[(10, 14), (23, 27), (37, 58), (81, 82), (135, 169), (344, 319)] anchors_new = [ (int(anchors[j][0]/a_scalse),int(anchors[j][1]/a_scalse)) for j in range(len(anchors)) ] -- GitLab