diff --git a/src/cvdata/relabel.py b/src/cvdata/relabel.py index ae255fb..e9940b4 100644 --- a/src/cvdata/relabel.py +++ b/src/cvdata/relabel.py @@ -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"])) # ------------------------------------------------------------------------------