Dev gzf train (#1524)

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* train (#1521) (#1522)

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer

* trainer
This commit is contained in:
zhifu gao 2024-03-21 12:52:02 +08:00 committed by GitHub
parent 4482bbcbb9
commit cd001acf68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -351,9 +351,9 @@ class ParaformerSANMDecoder(BaseTransformerDecoder):
hlens: torch.Tensor,
ys_in_pad: torch.Tensor,
ys_in_lens: torch.Tensor,
return_hidden: bool = False,
return_both: bool= False,
chunk_mask: torch.Tensor = None,
return_hidden: bool = False,
return_both: bool = False,
) -> Tuple[torch.Tensor, torch.Tensor]:
"""Forward decoder.

View File

@ -1,6 +1,7 @@
import os
import io
import shutil
import logging
from collections import OrderedDict
import numpy as np
from omegaconf import DictConfig, OmegaConf