mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-27 18:54:18 +00:00
removed unnecessary warning
This commit is contained in:
parent
fa73dc54a5
commit
4a8bd4294a
@ -515,7 +515,6 @@ def train_one_epoch(
|
||||
logging.warning(f"Grad scale is small: {cur_grad_scale}")
|
||||
if cur_grad_scale < 1.0e-05:
|
||||
save_bad_model()
|
||||
logging.warning(f"Grad scale is small: {cur_grad_scale}")
|
||||
raise RuntimeError(
|
||||
f"grad_scale is too small, exiting: {cur_grad_scale}"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user