CoolFace
Apppublic

RajaKanna/cnn14_messy_mashup_deployment

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes
App README

๐ŸŽต CNN14 Messy Mashup Genre Classifier

This Hugging Face Space deploys my pretrained CNN14 deep learning model for music genre classification on messy mashup audio clips.

๐Ÿ“Œ Project Goal

The task is to predict the genre of a mashup audio clip from the following classes:

  • โ€”blues
  • โ€”classical
  • โ€”country
  • โ€”disco
  • โ€”hiphop
  • โ€”jazz
  • โ€”metal
  • โ€”pop
  • โ€”reggae
  • โ€”rock

The mashup clips are noisy, mixed, and distribution-shifted audio samples.


๐Ÿง  Model Used

  • โ€”Architecture: CNN14-inspired audio classifier
  • โ€”Input: Raw .wav audio
  • โ€”Internal preprocessing:
  • โ€”resampling to 32 kHz
  • โ€”waveform normalization
  • โ€”log-mel spectrogram extraction
  • โ€”Inference strategy: 5-crop Test Time Augmentation (TTA)

โš™๏ธ Training Setup

The model was trained on a synthetic mashup dataset created to closely match the test distribution:

  • โ€”stems mixed from same-genre songs
  • โ€”additive environmental noise
  • โ€”random SNR variation
  • โ€”random gain perturbation
  • โ€”normalization to avoid clipping

This was done to improve robustness under realistic mashup conditions.


๐Ÿš€ How to Use

  1. 1.Upload a .wav mashup audio file
  2. 2.The app predicts:
  3. 3.Top predicted genre
  4. 4.Top-3 genre probabilities

๐Ÿ”— Model Repository

The deployed model weights are stored in this Hugging Face model repo:

RajaKanna/cnn14_messy_mashup_genre_prediction

๐Ÿ”Ž Usage Note

This Space is designed for interactive single-file inference. Upload one .wav mashup audio file at a time to obtain predictions.

For full competition evaluation, batch inference is performed separately in the Kaggle pipeline.


๐Ÿ“š Notes

This deployment is intended for demo, usability, and model serving evaluation as part of an academic deep learning project and its evaluation.