From f860b4a7a0a6e2a48f03c5052be60e637feeee2d Mon Sep 17 00:00:00 2001 From: Jing Lin <82669431+linjing-lab@users.noreply.github.com> Date: Wed, 25 Oct 2023 22:02:05 +0800 Subject: [PATCH] correct __doc__ --- released_box/perming/_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/released_box/perming/_utils.py b/released_box/perming/_utils.py index 1e5dbe5..8af4c73 100644 --- a/released_box/perming/_utils.py +++ b/released_box/perming/_utils.py @@ -206,7 +206,7 @@ def train_val(self, :param interval: int, console output interval. default: 100. :param tolerance: float, tolerance set to judge difference in val_loss. default: 1e-3 :param patience: int, patience of no improvement waiting for training to stop. default: 10. - :param backend: str, 'threading', 'multiprocessing', 'locky'. default: 'threading'. + :param backend: str, 'threading', 'multiprocessing', 'loky'. default: 'threading'. :param n_jobs: int, accelerate processing of validation. default: -1. :param early_stop: bool, whether to enable early_stop in train_val. default: False. ''' @@ -354,7 +354,7 @@ def _pack_info(self, by: str, state: bool) -> Dict[str, Any]: def _set_container(self, backend: str, n_jobs: int) -> None: ''' Validation Container with `parallel_backend` at `n_jobs`. - :param backend: str, "threading", "multiprocessing, 'locky'. + :param backend: str, "threading", "multiprocessing, 'loky'. :param n_jobs: int, set jobs with backend to accelerate process. ''' with parallel_backend(backend, n_jobs=n_jobs):