Skip to content

Commit 47d992b

Browse files
committed
updates
1 parent 75c7955 commit 47d992b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def main(name, file):
5858
box[[1, 3]] /= height[i] # normalize y
5959

6060
with open('out/labels/' + label_name, 'a') as file:
61-
file.write('%g, %.6f, %.6f, %.6f, %.6f\n' % (x['category_id'], *box))
61+
file.write('%g %.6f %.6f %.6f %.6f\n' % (x['category_id'], *box))
6262

6363
# Split data into train, test, and validate files
6464
file_name = sorted(file_name)

0 commit comments

Comments
 (0)