Li Peng
3e4da5f781
Replace deprecated pytorch methods ( #1814 )
...
* Replace deprecated pytorch methods
- torch.cuda.amp.GradScaler(...) => torch.amp.GradScaler("cuda", ...)
- torch.cuda.amp.autocast(...) => torch.amp.autocast("cuda", ...)
* Replace `with autocast(...)` with `with autocast("cuda", ...)`
Co-authored-by: Li Peng <lipeng@unisound.ai>
2024-12-16 10:24:16 +08:00
Fangjun Kuang
8136ad775b
Use high_freq -400 in computing fbank features. ( #1447 )
...
See also https://github.com/k2-fsa/sherpa-onnx/issues/514
2024-01-04 13:59:32 +08:00
zr_jin
ef658d691e
fixes for init value of diagnostics.TensorDiagnosticOptions
( #1269 )
...
* fixes for `diagnostics`
Replace `2 ** 22` with `512` as the default value of `diagnostics.TensorDiagnosticOptions`
also black formatted some scripts
* fixed formatting issues
2023-09-24 17:06:47 +08:00
Fangjun Kuang
7b0afbdc16
Remove cur_batch_idx ( #1102 )
2023-05-30 14:49:54 +08:00
Fangjun Kuang
f5de2e90c6
Fix style issues. ( #937 )
2023-03-08 22:56:04 +08:00
pehonnet
07243d136a
remove key from result filename ( #936 )
...
Co-authored-by: pe-honnet <pe.honnet@telepathy.ai>
2023-03-08 21:06:07 +08:00
Amir Hussein
6f71981667
MGB2 ( #396 )
...
* mgb2
* mgb2
* adding pruned transducer stateless to mgb2
* update display_manifest_statistics.py
* .
* stateless transducer MGB-2
* Update README.md
* Update RESULTS.md
* Update prepare_lang_bpe.py
* Update asr_datamodule.py
* .nfs removed
* Adding symlink
* .
* resolving conflicts
* Update .gitignore
* black formatting
* Update compile_hlg.py
* Update compute_fbank_musan.py
* Update convert_transcript_words_to_tokens.py
* Update download_lm.py
* Update generate_unique_lexicon.py
* adding simlinks
* fixing symbolic links
2022-12-02 10:58:34 +08:00