之前發過的一封郵件,是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,”