From 7fa67abfd34383947c90f5de23d0066184ade8ea Mon Sep 17 00:00:00 2001 From: James Adams Date: Wed, 5 Feb 2020 22:22:06 -0500 Subject: [PATCH] conversion of index values from string to integer #137 --- src/cvdata/relabel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"])) # ------------------------------------------------------------------------------