未验证 提交 528031ce 编写于 作者: B Bubbliiiing 提交者: GitHub

Update get_dr_txt.py

上级 2eec48c8
...@@ -24,6 +24,7 @@ class mAP_Yolo(YOLO): ...@@ -24,6 +24,7 @@ class mAP_Yolo(YOLO):
#---------------------------------------------------# #---------------------------------------------------#
def detect_image(self,image_id,image): def detect_image(self,image_id,image):
self.confidence = 0.01 self.confidence = 0.01
self.iou = 0.5
f = open("./input/detection-results/"+image_id+".txt","w") f = open("./input/detection-results/"+image_id+".txt","w")
image_shape = np.array(np.shape(image)[0:2]) image_shape = np.array(np.shape(image)[0:2])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册