Skip to content

Tubbz-alt/SYSU-ADSP-Project

 
 

Repository files navigation

Course Project:EIT5111 - Advanced digital signal processing

Download Dataset

  • Dataset:

The ICML 2013 Whale Challenge - Right Whale Redux

  • Dataset structure after unzip:
 + all
   + test2
   + train2
   + sampleSubmission.csv

Requirements

  • Python environment (Python 3.6.7):
tensorflow==1.12.0
scikit-learn==0.20.2
scikit-image==0.14.1
opencv-python==3.4.5.20
scipy==1.2.0
  • For installing above modules, bash in ./ and run:
pip install -r requirements.txt

Testing: Pre-processing Single Audio and Visualization

  • Ensure you correctlty install all modules, run input_processor_vis.py in shell:
python input_processor_vis.py
  • following operation has been encapsulated in _read_and_preprocess function in input_processor.py. In training phase, func will called by tf.data and tf.estimator automatically.

Split Train/Val and Generate Annotation

  • Unzip downloaded dataset to ./data, then run annota_generator.py in shell for splitting train/val and generating annotation:
python annota_generator.py

the train/val annotation will be saved at ./data.

  • Finally we get follow directory structure:

    + data
      + model
      + test2
      + train2
      + train_annotation.txt
      + eval_annotation.txt
    + annota_generator.py
    + input_processor.py
    + input_processor_vis.py
    + train.py
    + requirements.txt
    

Training and Evaluation

  • Run train.py in shell, and model checkpoint/events/results will be saved ./data/model (when training model on the splited train set and evaluate model on validation set).

Reference

  [1] Peter J. Dugan, Christopher W. Clark, Yann André LeCun, Sofie M. Van Parijs- DCL System Using Deep Learning Approaches for Land-based or Ship-based Real-Time Recognition and Localization of Marine Mammals

  [2] Mohammad Pourhomayoun, Peter Dugan, Marian Popescu, Christopher Clark - Bioacoustic Signal Classification Based on Continuous Region Processing, Grid Masking and Artificial Neural Network

About

ADSP course project: Acoustics Recognition — Right Whale Redux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%