Skip to content

Commit

Permalink
Merge branch 'NH1922-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartucho committed May 15, 2019
2 parents 20d2f89 + 3bd6137 commit 92e6d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/extra/convert_gt_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
bottom = bndbox.find('ymax').text
new_f.write("%s %s %s %s %s\n" % (obj_name, left, top, right, bottom))
# 2. move old file (xml format) to backup
os.rename(tmp_file, os.path.join(backup, tmp_file))
os.rename(tmp_file, os.path.join("backup", tmp_file))
print("Conversion completed!")

0 comments on commit 92e6d33

Please sign in to comment.