From 89d799832a40c1cef2a70dd291ba8f223b08a768 Mon Sep 17 00:00:00 2001 From: jiangjiajun Date: Mon, 31 Aug 2020 12:23:16 +0000 Subject: [PATCH] modify thread_num for preprocess --- paddlex/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlex/command.py b/paddlex/command.py index 4fde4b8..a433cbc 100644 --- a/paddlex/command.py +++ b/paddlex/command.py @@ -189,7 +189,7 @@ def main(): if args.split_dataset: assert args.dataset_dir is not None, "--dataset_dir should be defined while spliting dataset" - assert args.format is not None, "--form should be defined while spliting dataset" + assert args.format is not None, "--format should be defined while spliting dataset" assert args.val_value is not None, "--val_value should be defined while spliting dataset" dataset_dir = args.dataset_dir -- GitLab