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
7a7a7a6b20
commit
1acc96d867
Binary file not shown.
Binary file not shown.
@ -664,6 +664,9 @@ def get_transducer_model(params: AttributeDict) -> nn.Module:
|
||||
decoder = get_decoder_model(params)
|
||||
joiner = get_joiner_model(params)
|
||||
|
||||
print('0'*20)
|
||||
print(params.spk_id)
|
||||
print('0'*20)
|
||||
model = Transducer(
|
||||
encoder=encoder,
|
||||
decoder=decoder,
|
||||
@ -673,6 +676,7 @@ def get_transducer_model(params: AttributeDict) -> nn.Module:
|
||||
joiner_dim=params.joiner_dim,
|
||||
vocab_size=params.vocab_size,
|
||||
prompt=params.prompt,
|
||||
sid=params.spk_id,
|
||||
)
|
||||
return model
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user