Skip to content

Commit

Permalink
conversion of index values from string to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
monocongo committed Feb 6, 2020
1 parent 6d11120 commit 7fa67ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cvdata/relabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _relabel_darknet(arguments: Dict):
"new": new label index value
"""

relabel_darknet(arguments["file_path"], arguments["old"], arguments["new"])
relabel_darknet(arguments["file_path"], int(arguments["old"]), int(arguments["new"]))


# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 7fa67ab

Please sign in to comment.