mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
243c592c9c
commit
a30d35ed8c
Binary file not shown.
@ -138,7 +138,7 @@ def set_batch_count(model: Union[nn.Module, DDP], batch_count: float) -> None:
|
|||||||
model.encoder.num_updates = int(batch_count)
|
model.encoder.num_updates = int(batch_count)
|
||||||
|
|
||||||
|
|
||||||
def add_adapter_arguments(cls, parser: argparse.ArgumentParser):
|
def add_adapter_arguments(parser: argparse.ArgumentParser):
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--add-adapter",
|
"--add-adapter",
|
||||||
type=str2bool,
|
type=str2bool,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user