fast-ctc-decode:闪电般的快速CTC波束搜索解码器

时间:2024-06-06 19:26:54
【文件属性】:

文件名称:fast-ctc-decode:闪电般的快速CTC波束搜索解码器

文件大小:27KB

文件格式:ZIP

更新时间:2024-06-06 19:26:54

beam-search viterbi ctc-decode Rust

快速ctc解码 快速的CTC解码库。 $ pip install fast-ctc-decode 用法 >> > from fast_ctc_decode import beam_search , viterbi_search >> > >> > alphabet = "NACGT" >> > posteriors = np . random . rand ( 100 , len ( alphabet )). astype ( np . float32 ) >> > >> > seq , path = viterbi_search ( posteriors , alphabet ) >> > seq 'ACACTCGCAGCGCGATACGACTGATCGAGATATACTCAGTGTACACAGT' >> > >> > seq , path = beam_search ( pos


【文件预览】:
fast-ctc-decode-master
----Cargo.toml(500B)
----.github()
--------workflows()
----src()
--------duplex.rs(33KB)
--------vec2d.rs(918B)
--------tree.rs(9KB)
--------fastexp.rs(2KB)
--------search.rs(20KB)
--------lib.rs(21KB)
----build.rs(136B)
----LICENSE(1KB)
----README.md(3KB)
----Makefile(177B)
----tests()
--------test_decode.py(15KB)
--------benchmark.py(3KB)
----.gitignore(55B)

网友评论