提交 8bedf492 编写于 作者: Eric.Lee2021's avatar Eric.Lee2021 🚴🏻

update

上级 da91adf2
...@@ -249,7 +249,7 @@ class yolo_v3_hand_model(object): ...@@ -249,7 +249,7 @@ class yolo_v3_hand_model(object):
self.nms_thres = nms_thres self.nms_thres = nms_thres
#----------------------------------------------------------------------- #-----------------------------------------------------------------------
weights = model_path weights = model_path
if "-tiny" in model_arch: if "tiny" in model_arch:
a_scalse = 416./img_size a_scalse = 416./img_size
anchors=[(10, 14), (23, 27), (37, 58), (81, 82), (135, 169), (344, 319)] 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)) ] anchors_new = [ (int(anchors[j][0]/a_scalse),int(anchors[j][1]/a_scalse)) for j in range(len(anchors)) ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册