mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Reduce debug freq
This commit is contained in:
parent
1d20c12bc0
commit
ceadfad48d
@ -178,7 +178,7 @@ class MaxEigLimiterFunction(torch.autograd.Function):
|
||||
ans_direction = direction + new_direction # ensure nonzero even if x == 0
|
||||
ans_direction = ans_direction / ans_direction.norm()
|
||||
|
||||
if random.random() < 0.01:
|
||||
if random.random() < 0.001:
|
||||
logging.info(f"variance_proportion = {variance_proportion.item()}")
|
||||
|
||||
# Caution: this causes a CUDA sync, which is not ideal.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user