Python Co-Execution for AI Speech Command Recognition

PyTorch and TensorFlow Co-Execution for Speech Command Recognition
114.0 次下载
更新时间 2021/8/25

PyTorch and TensorFlow Co-Execution for Training a Speech Command Recognition System

This repo provides examples of co-executing MATLAB® with TensorFlow and PyTorch to train a speech command recognition system.

Interop image

Signal processing engineers that use Python to design and train deep learning models are still likely to find MATLAB® useful for tasks such as dataset curation, signal pre-processing, data synthesis, data augmentation, and feature extraction. Open-source alternatives exist for those tasks and they could be OK to use when replicating a pre-existing model or training recipe. However, for original technical development work, most users find those tasks easier in MATLAB®.

Creator: MathWorks® Development

Requirements

To accelerate training, a GPU and the following toolbox is recommended:

This repo includes two co-execution examples, with additional requirements.

CallMATLABFromPythonPytorch.mlx

CallPythonTensorFlowFromMATLAB.mlx

Get Started

See SetupNotes.mlx for setup instructions for both examples included with this repo.

There are two high-level examples in this repo.

Call MATLAB from Python

CallMATLABFromPythonPytorch.mlx - In this example, Python™ is your main environment. You call into MATLAB® to perform dataset management and audio feature extraction.

Call MATLAB from Python image

Call Python from MATLAB

CallPythonTensorFlowFromMATLAB.mlx - In this example, MATLAB® is your main environment. The dataset management, audio feature extraction, training loop, and evaluation happen in MATLAB®. The deep learning network is defined and executed in Python™.

Call Python from MATLAB image

License

The license is available in the License file in this repository.

引用格式

MathWorks Audio Toolbox Team (2024). Python Co-Execution for AI Speech Command Recognition (https://github.com/matlab-deep-learning/coexecution_speech_command/releases/tag/v1.0), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021a
与 R2021a 及更高版本兼容
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库