Code Monkey home page Code Monkey logo

sound_event_detection's Issues

Windows issues / did not test

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.