Ver Fonte

update repo

嘉渊 há 2 anos atrás
pai
commit
decdbc3c97
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      funasr/bin/train.py

+ 1 - 0
funasr/bin/train.py

@@ -160,6 +160,7 @@ def get_parser():
     )
     parser.add_argument(
         "--patience",
+        type=int_or_none,
         default=None,
         help="Number of epochs to wait without improvement "
              "before stopping the training",