我正尝试通过python从Essentia
配置文件中生成MusicExtractor
yaml
的功能集,如文档here和here中所述。
我的代码段:
from essentia.standard import MusicExtractor
profile = "some_profile.yaml"
audio = "some_audio.mp3"
features, frames = MusicExtractor(profile=profile)(audio)
我的yaml
个人资料:
这会产生以下错误:
RuntimeError:
Error while configuring MusicExtractor:
Pool: Cannot set/add/merge value to the pool under the name 'rhythm.stats'
because that name already exists but contains a different data type than value.
看起来我做错了什么并不是真的。
答案 0 :(得分:0)
我遇到了同样的问题,并通过以下方式解决了该问题:
stats
和statsMFCC
行。由此我可以得出一个有效的配置文件。