sidekit(二)两个小bug

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zjm750617105/article/details/78787234

之前发过的一封邮件,是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,”

猜你喜欢

转载自blog.csdn.net/zjm750617105/article/details/78787234