Open qkum opened 2 years ago
That leads to this problem:
Successfully installed imbalanced-learn-0.9.0 imblearn-0.0 scikit-learn-1.0.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pyaudioanalysis 0.3.7 requires scikit_learn==0.23.2, but you have scikit-learn 1.0.2 which is incompatible.
Will be fun to see if it will work like this.
python3 script_tests.py
Outputs:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/tyiannak/ResearchData/Audio Dataset/pyAudioAnalysisData/pyAudioAnalysis/data/count.wav'
The path has to be changed to the one of your local machine.
root_data_path = "/Users/tyiannak/ResearchData/Audio Dataset/pyAudioAnalysisData/"
Something like this:
root_data_path = "/home/YourPcName/pyAudioAnalysis/
In the file named script_tests.py
line 12, in the tests
folder.
New error after test 6:
FileNotFoundError: [Errno 2] No such file or directory: '/home/xxx/pyAudioAnalysis/radioFinal/train/bbc4A.segments'
This folder is not even part of the respiratory any longer.
/radioFinal/
Solution:
Comment out the 'TEST 6' code, in 'script_tests.py, starting at line 36
Seems all tests except 6 passed.
Got this "Deprecated" warning all the time though:
np.matrix usage is deprecated in 1.0 and will raise a TypeError in 1.2. Please convert to a numpy array with np.asarray. For more information see: https://numpy.org/doc/stable/reference/generated/numpy.matrix.html
please check the latest commit. Requirements.txt has been updated with imblearn and np.matrix has been replaced
python3 script_tests.py
Module 'imblearn' missing from requirements.txt
This may be the fix:
pip install imblearn