jim-schwoebel / sound_event_detection Goto Github PK
View Code? Open in Web Editor NEW🎵 A repository for manually annotating files to create labeled acoustic datasets for machine learning.
License: Apache License 2.0
🎵 A repository for manually annotating files to create labeled acoustic datasets for machine learning.
License: Apache License 2.0
label_files.py
Install dependencies. Created new environment and pip installed each one. Requirements.txt didn’t work for some reason. My guess is it hung up when it reached the couple that needed special installation instructions: PyAudio and PocketSphinx. PyAudio was installed with following link: https://stackoverflow.com/questions/54998028/how-do-i-install-pyaudio-on-python-3-7. Jim provided following link to get PocketSphinx going on Windows, but it appears to work fine without it https://stackoverflow.com/questions/18889268/setting-up-pocketsphinx-for-python-in-windows.
Line 205 in ‘label_files.py’: os.system('play %s'%(filename)) doesn’t appear to work with Windows. Command prompt returns some play error. Replaced with below to use in windows. File will then play in command prompt and annotation can take place.
import winsound #(should be native in Windows Python install)
print(filename)
winsound.PlaySound(filename, winsound.SND_FILENAME)
train_audioTPOT.py
Had issue with librosa_features.py: Error says librosa_feature.rmse(y)[0] (line 138) has no attribute rmse. Looing online, it says attribute changed to ‘rms’ instead of’ rmse’. Works after changing to ‘rms’.
When doing quick testing ran into some json file issues. Not exactly sure what happened, but during this test there were only 1 or 2 files in class target 2. I reran and tried to make even number for each class and it works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.