mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-18 21:44:18 +00:00
Reduce debug freq
This commit is contained in:
parent
29dfe37f22
commit
8acc398428
@ -909,7 +909,7 @@ class NeutralGradient(Optimizer):
|
||||
param_periods = param_periods.tolist()
|
||||
|
||||
logging.info(f"NeutralGradient._recalibrate_speedup: speedup = {speedup:.2g}, actual_speedup = {actual_speedup:.2g}")
|
||||
print_info = True # random.random() < 0.1
|
||||
print_info = random.random() < 0.05
|
||||
i = 0
|
||||
for p in group["params"]:
|
||||
if p.grad is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user