浏览代码

modify thread_num for preprocess

jiangjiajun 5 年之前
父节点
当前提交
89d799832a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      paddlex/command.py

+ 1 - 1
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