From 70d52935f01b2add18aeef7d75b151655e17943c Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Fri, 3 Apr 2026 23:34:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/tools/server.py | 2 +- scripts/tools/train.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tools/server.py b/scripts/tools/server.py index fc8151d..049c0f6 100644 --- a/scripts/tools/server.py +++ b/scripts/tools/server.py @@ -13,7 +13,7 @@ def main(): "--port", type=int, default=8000, help="Port number (default: 8000)" ) parser.add_argument( - "--reload", action="store_true", help="Enable auto‑reload for development" + "--reload", action="store_true", help="Enable auto-reload for development" ) parser.add_argument( "--param-path", diff --git a/scripts/tools/train.py b/scripts/tools/train.py index 03e238d..903873e 100644 --- a/scripts/tools/train.py +++ b/scripts/tools/train.py @@ -225,7 +225,7 @@ def train( scheduler_fn = partial( create_scheduler, **{ - "scheduler": "cosine", + "schedule_type": "cosine", "warmup_steps": warmup_steps, "lr_decay_steps": toltal_steps - warmup_steps, },