Skip to content

Comparing different AI methods for detecting bee buzzing noises.

Notifications You must be signed in to change notification settings

danieladickey/bee-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Bee AI

Daniel Dickey - A02263117

Welcome

  • Read Report.pdf for info about the project, results, and my conclusion.
  • Read Files below for information on what is contained in each file in this project.
  • Read Set-Up below for instructions on how to install the required software to run this project on Windows 10.

Files

  • Report.pdf - contains a description, tables, and info about this project.
  • README.md - should be read before attempting to run any files.
  • main.py - run this file to produce a report of each type of net run against each dataset.
  • utils.py - contains all the functions required to validate, train, test, predict, save nets, load nets, create and load ensembles.
  • load_nets.py - contains all the loader functions required load the three CNNs.
  • buzz1_cnn.py - used to train, save, rename a CNN on the buzz1 dataset.
  • buzz1_cnn.py - used to train, save, rename a CNN on the buzz2 dataset.
  • buzz1_cnn.py - used to train, save, rename a CNN on the buzz3 dataset.
  • single_cnn.py - used to train, save, rename a CNN on all 3 datasets.
  • rf.py - used to train, save, load, and validate the random forest.
  • /nets - folder containing the .tfl files that make up the trained CNNs used in this project. Each net has three files associated with it. This folder also contains a single .pck file with the random forest saved in it.

Set-up

  • The curated and labeled "audio clips" used for training, testing, and validating is available at: https://usu.app.box.com/s/2awuc4l9xqui2ea4u6p5p1gmp2advc1z

  • This project utilized:

    • Anaconda Prompt 3 (conda 4.8.5)
    • Python 3.7.4
    • pip 20.2.3
    • numpy 1.19.2
    • Tensor Flow v1.4.0
    • TF Learn 0.3.2
    • pickle 4.0
  • I ran this project on Windows 10 using Anaconda Prompt 3 (conda 4.8.5)

  • To install Anaconda Prompt 3:

    • Download the Anaconda installer at https://www.anaconda.com/download/#windows
    • Double click the installer to launch.
    • Click Next.
    • Read the licensing terms and click “I Agree”.
    • Select an install for “Just Me” unless you’re installing for all users (which requires Windows Administrator privileges) and click Next.
    • Select a destination folder to install Anaconda and click the Next button.
      • Install Anaconda to a directory path that does not contain spaces or unicode characters.
      • Do not install as Administrator unless admin privileges are required.
    • Choose whether to add Anaconda to your PATH environment variable. We recommend not adding Anaconda to the PATH environment variable, since this can interfere with other software. Instead, use Anaconda software by opening Anaconda Navigator or the Anaconda Prompt from the Start Menu.
    • Choose whether to register Anaconda as your default Python. Unless you plan on installing and running multiple versions of Anaconda or multiple versions of Python, accept the default and leave this box checked.
    • Click the Install button. If you want to watch the packages Anaconda is installing, click Show Details.
    • Click the Next button.
    • Optional: To install PyCharm for Anaconda. Or to install Anaconda without PyCharm, click the Next button.
    • After a successful installation you will see the “Thanks for installing Anaconda” dialog box.
    • If you wish to read more about Anaconda.org and how to get started with Anaconda, check the boxes “Anaconda Individual Edition Tutorial” and “Learn more about Anaconda”. Click the Finish button.

The Follow Commands are all run from the Anaconda Prompt:

  • To install Python 3.7.4:

    •   conda install python=3.7.4
      
  • To install pip:

    •   python -m pip install --upgrade pip
      

    or

    •   conda install pip
      
    •   conda update pip  
      
  • To install NumPy:

    •   pip install numpy
      
    •   pip install --upgrade numpy
      
  • To install Tensor Flow v1.4.0:

    •   conda install -c conda-forge tensorflow=1.14
      

    or

    •   conda install tensorflow=1.14
      
  • To install TF Learn:

    •   conda install -c derickl tflearn
      

    or

    •   conda install tflearn
      
  • To install pickle:

    •   pip install pickle-mixin
      

    or

    •   conda install pickle   
      

About

Comparing different AI methods for detecting bee buzzing noises.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published