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 75c7955 commit 47d992bCopy full SHA for 47d992b
run.py
@@ -58,7 +58,7 @@ def main(name, file):
58
box[[1, 3]] /= height[i] # normalize y
59
60
with open('out/labels/' + label_name, 'a') as file:
61
- file.write('%g, %.6f, %.6f, %.6f, %.6f\n' % (x['category_id'], *box))
+ file.write('%g %.6f %.6f %.6f %.6f\n' % (x['category_id'], *box))
62
63
# Split data into train, test, and validate files
64
file_name = sorted(file_name)
0 commit comments