sidekit(二)兩個小bug

之前發過的一封郵件,是1.2.2版本的,但是1.2.3版本還存在這個issue2問題。

My machine environments is: python=2.7 sidekit=1.2.2

Issue1:
# 這個問題在3.5中沒有,在2.x存在這個問題
in the anaconda2/lib/python2.7/site-packages/sidekit/frontend/io.py line129, should change the “with open()” to “f = open()”

Issue2:
#將vad設置爲energy會報錯,設置爲 snr 則正常。
In the anaconda2/lib/python2.7/site-packages/sidekit/features_extractor.py line 527, should change the “label = vad_energy(log_energy, distrib_nb=3,” to “ label, threshold = vad_energy(log_energy, distrib_nb=3,”

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章