Python MIT

Deep-Learning-Audio-Application-From-Design-to-Deployment

Code and slides for the "Deep learning (audio) application: From design to deployment" tutorials.

M

musikalkemist

Dernière activité 9 août 2026
musikalkemist/Deep-Learning-Audio-Application-From-Design-to-Deployment

180

étoiles

91

forks

7

issues ouvertes

Ce README est souvent en anglais.

Deep-Learning-Audio-Application-From-Design-to-Deployment

Code for the "Deep Learning (Audio) Application: From Design to Deployment" series on The Sound of AI YouTube channel.

Learn how to build a simple speech recognition system with TensorFlow and deploy it with Docker as a Flask API on Amazon AWS.

This repository provides a comprehensive guide for building a speech recognition system and deploying it to a production environment. It covers the full lifecycle of an audio ML application: from dataset preparation and model implementation in TensorFlow 2 to deployment using Flask, Docker, uWSGI, NGINX, and Amazon AWS.

Python 3.11 TensorFlow 2.16 Keras 3 Flask Docker AWS License

Note on Versioning

This v3 release is maintained to ensure compatibility with modern deployment environments and dependency management. While the core logic remains identical to the original course, certain configuration files (Dockerfiles, requirements) are optimized for current best practices. Consequently, the original course version has been deprecated; however, it remains available in the legacy branch for those wishing to follow the video content exactly.

Table of Contents


Getting Started

1. Prepare the Environment

Ensure you have the necessary dependencies installed. It is recommended to use a virtual environment:

pip install -r requirements.txt

2. Automated Dataset Initialization

To quickly prepare the dataset and all required configuration files for the entire project, run the provided setup script. This script handles the download, preprocessing (MFCC extraction), and propagation of the data.json file to all chapter folders.

# From the project root, simply run:
chmod +x setup_dataset.sh
./setup_dataset.sh

3. Running Individual Chapters

After initialization, you can navigate to any chapter directory to run the specific scripts (e.g., training, local server, or Docker orchestration).

cd "05 - Deploying the Speech Recognition System as a Flask API"
python server.py

Course Structure

1. Dataset Preparation (scripts not supposed to be run)

  1. Course Introduction: Video | Slides
  2. Preparing the Speech Dataset: Video | Code

2. Model Development

  1. Implementing a Speech Recognition System (TF 2): Video | Code
  2. Making Predictions: Video | Code

3. Deployment Strategy

Note: Refer to the [Guide] links below for detailed deployment instructions for each session.

  1. Deploying as a Flask API: Video | Code | Guide
  2. Deploying with uWSGI: Video | Slides | Code | Guide
  3. Deploying on Docker with NGINX: Video | Slides | Code | Guide
  4. Deploying on Amazon AWS: Video | Code | Guide

Projets similaires

Code and slides for the "Deep Learning (For Audio) With Python" course on TheSoundOfAI Youtube channel.

Python
Mmusikalkemist
724 étoiles278

Code and slides of my YouTube series called "Audio Signal Proessing for Machine Learning"

Jupyter Notebook
Mmusikalkemist
1,4 k étoiles458

Code for the "PyTorch for Audio + Music Processing" series on The Sound of AI YouTube channel.

Python
Mmusikalkemist
283 étoiles96