We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98f6dba commit 7497b96Copy full SHA for 7497b96
yolo2coco.py
@@ -5,7 +5,7 @@
5
6
7
parser=argparse.ArgumentParser()
8
-parser.add_argument('--yolo-path',type=str,default='yolov5/runs/detect/exp/labels')
+parser.add_argument('--yolo-path',type=str,default='yolov5/runs/detect/exp2/labels')
9
parser.add_argument('--data-root',type=str,default='/eva_data/zchin/vrdl_hw2_data')
10
args=parser.parse_args()
11
@@ -41,7 +41,7 @@
41
width*=w
42
height*=h
43
min_x=x_center-width/2
44
- min_y=y_center/2
+ min_y=y_center-height/2
45
46
det_box_info['bbox']=(tuple((min_x,min_y,width,height)))
47
det_box_info['score']=float(line[5])
0 commit comments