mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
Remove debug code
This commit is contained in:
parent
8c44ff26f7
commit
278358bb9f
@ -452,8 +452,6 @@ param_rms_smooth1: Smoothing proportion for parameter matrix, if assumed rank of
|
|||||||
|
|
||||||
delta = state["delta"]
|
delta = state["delta"]
|
||||||
# the factor of (1-beta1) relates to momentum.
|
# the factor of (1-beta1) relates to momentum.
|
||||||
if random.random() < 0.01:
|
|
||||||
logging.info(f"scale_step ={scale_step}, shape={p.shape}")
|
|
||||||
delta.add_(p * scale_step, alpha=(1-beta1))
|
delta.add_(p * scale_step, alpha=(1-beta1))
|
||||||
|
|
||||||
def _update_param_cov(self,
|
def _update_param_cov(self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user