jordipons / musicnn

Pronounced as "musician", musicnn is a set of pre-trained deep convolutional neural networks for music audio tagging.
ISC License
599 stars 87 forks source link

Add "extract_features=False" to broken example #23

Open LinusOstlund opened 2 years ago

LinusOstlund commented 2 years ago

The following example doesn't work:

from musicnn.extractor import extractor
taggram, tags = extractor('./audio/joram-moments_of_clarity-08-solipsism-59-88.mp3', model='MTT_musicnn') ~~~~

Since the extract_features parameter defaults to True, it produces a "too many values to unpack" error. Explicitly setting extract_features=False fixes the example.