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
17a1b8129a
commit
ff1ad01500
Binary file not shown.
Binary file not shown.
@ -65,7 +65,11 @@ class FairSeqData2VecEncoder(EncoderInterface):
|
||||
)
|
||||
model = models[0]
|
||||
model.feature_grad_mult = 0.0 ## for conv network freeze
|
||||
model.mask_prob = 0.0 ## for conv network freeze
|
||||
## prevent overfitting
|
||||
model.mask_prob = 0.65
|
||||
model.mask_channel_prob = 0.5
|
||||
model.mask_channel_length = 64
|
||||
model.activation_dropout = 0.1
|
||||
|
||||
self.encoders = model
|
||||
self.pretrained_params = copy.deepcopy(model.state_dict())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user