Closed wy192 closed 3 years ago
That's probably an issue with the scikit-learn version of pyAudioAnalysis. Please install pyAudioAnalysis according to instructions.
Hi there. I installed pyAudioAnalysis
per the instructions (using pip3
) and I still have this issue.
[Edit]:
I got it to work on a raspberry pi 3 B+ by doing some sketchy things that I didn't document well. Now I"m trying to get this working on a barebones Ubuntu 20.04 machine, and don't want to repeat the terrible things I did to make it work on my pi.
@tyiannak, I think publishing versions of the model that were trained using a newer version of scikit-learn should fix everything, though. Any chance you can train/post those? Or provide info/commands on how you trained your initial model?
Thank you so much for your work on this library, II know this is probably just something you do with your free time and are under no obligation to help. That said, I really appreciate any help you can provide.
Source:
https://stackoverflow.com/questions/29773574/python-error-in-svm-classifier-predict
Thanx for the comment I've pushed models trained under scikit-learn 0.23.2 Also updated the requirements file to make this a clear dependency. It should work now
It now works perfectly. Thank you SO much!
AttributeError Traceback (most recent call last)