mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
Decrease debugging freq
This commit is contained in:
parent
4c5d49c448
commit
ee311247ea
@ -667,7 +667,7 @@ param_rms_smooth1: Smoothing proportion for parameter matrix, if assumed rank of
|
|||||||
P = param_cov.clone()
|
P = param_cov.clone()
|
||||||
P = self._smooth_param_cov(group, p_shape, P, G)
|
P = self._smooth_param_cov(group, p_shape, P, G)
|
||||||
|
|
||||||
if True:
|
if random.random() < 0.25:
|
||||||
_,S,_ = _svd(P)
|
_,S,_ = _svd(P)
|
||||||
logging.info(f"Eigs of P are {S[0][0]}")
|
logging.info(f"Eigs of P are {S[0][0]}")
|
||||||
|
|
||||||
@ -1865,7 +1865,7 @@ def _test_eve_cain():
|
|||||||
fix_random_seed(42)
|
fix_random_seed(42)
|
||||||
Linear = torch.nn.Linear if iter == 0 else ScaledLinear
|
Linear = torch.nn.Linear if iter == 0 else ScaledLinear
|
||||||
|
|
||||||
hidden_dim = 300
|
hidden_dim = 400
|
||||||
m = torch.nn.Sequential(Linear(E, hidden_dim),
|
m = torch.nn.Sequential(Linear(E, hidden_dim),
|
||||||
torch.nn.PReLU(),
|
torch.nn.PReLU(),
|
||||||
Linear(hidden_dim, hidden_dim),
|
Linear(hidden_dim, hidden_dim),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user