mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
have final prob of aux_loss for input projections be 0
This commit is contained in:
parent
9cf5d92f39
commit
cee62c823d
@ -352,8 +352,9 @@ def _aux_grad_scale() -> float:
|
||||
def _aux_grad_prob_out() -> ScheduledFloat:
|
||||
return ScheduledFloat((0.0, 0.25), (1000.0, 0.05), (8000.0, 0.0125))
|
||||
def _aux_grad_prob_in() -> ScheduledFloat:
|
||||
return ScheduledFloat((0.0, 0.25), (1000.0, 0.05), (8000.0, 0.0125))
|
||||
#return ScheduledFloat((0.0, 0.25), (1000.0, 0.0))
|
||||
return ScheduledFloat((0.0, 0.25), (1000.0, 0.0))
|
||||
#return ScheduledFloat((0.0, 0.25), (1000.0, 0.05), (8000.0, 0.0125))
|
||||
|
||||
|
||||
|
||||
class ZipformerEncoderLayer(nn.Module):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user