AM Radio Demodulation Model

Code used to train the transformer-based nerual network to demodulate and de-noise AM radio described in this blog post.

The main notebook is included as a jupyter .ipynb file for convenience, with the associated jupytext .py file used for better version history.

To update the .py file with changes from the notebook, run jupytext --to py:percent .\am_transformer.ipynb.

Setup

Create a python environment and install the requisite dependencies:

python -m venv env
source env/bin/activate
pip install -r requirements.txt