Initial support for automatic fixing of additional and wrong label
This commit is contained in:
@@ -175,8 +175,7 @@ args = parser.parse_args()
|
||||
# input_arg = Path(args.input_path)
|
||||
image_files = []
|
||||
|
||||
def natural_key(text):
|
||||
return [int(c) if c.isdigit() else c.lower() for c in re.split(r'(\d+)', str(text))]
|
||||
from utils import natural_key
|
||||
|
||||
for path_str in args.input_paths:
|
||||
input_arg = Path(path_str)
|
||||
|
||||
Reference in New Issue
Block a user