hirofumi0810 / neural_sp

End-to-end ASR/LM implementation with PyTorch
Apache License 2.0
596 stars 141 forks source link

Add set_to_none option for torch>=1.7 #327

Closed hirofumi0810 closed 3 years ago

hirofumi0810 commented 3 years ago

Added set_to_none option for the optimizer. This is available for torch>=1.7.

codecov-commenter commented 3 years ago

Codecov Report

Merging #327 (424e800) into master (825ec8a) will increase coverage by 0.00%. The diff coverage is 88.88%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #327   +/-   ##
=======================================
  Coverage   68.07%   68.08%           
=======================================
  Files          96       96           
  Lines       10827    10829    +2     
=======================================
+ Hits         7371     7373    +2     
  Misses       3456     3456           
Impacted Files Coverage Δ
neural_sp/bin/lm/train.py 73.75% <50.00%> (-0.24%) :arrow_down:
neural_sp/bin/asr/train.py 65.92% <100.00%> (ø)
neural_sp/trainers/lr_scheduler.py 82.44% <100.00%> (+0.55%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 825ec8a...424e800. Read the comment docs.