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
2c6f7e5578
commit
f421b02b40
Binary file not shown.
Binary file not shown.
@ -588,6 +588,12 @@ def run(rank, world_size, args):
|
||||
)
|
||||
|
||||
logging.info("About to create model")
|
||||
model = Transformer(
|
||||
num_features=params.feature_dim,
|
||||
num_classes=num_classes,
|
||||
use_feat_batchnorm=params.use_feat_batchnorm,
|
||||
)
|
||||
'''
|
||||
model = Conformer(
|
||||
num_features=params.feature_dim,
|
||||
nhead=params.nhead,
|
||||
@ -599,6 +605,7 @@ def run(rank, world_size, args):
|
||||
vgg_frontend=False,
|
||||
use_feat_batchnorm=params.use_feat_batchnorm,
|
||||
)
|
||||
'''
|
||||
|
||||
checkpoints = load_checkpoint_if_available(params=params, model=model)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user