Downloads · 30 days
0
Kiuyha/TF-SA-ResUNet-Model
TF-SA-ResUNet-Model is a machine learning model from Kiuyha. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
[](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/) [](https://pytorch.org/)
Downloads · 30 days
0
Access
Public
Updated Dec 22, 2025
Repo size
45.3 MB
Likes
0
Public
Click a slice to open those files.
.pth45.3 MB · 100%
From the Hugging Face model README
This repository contains an implementation that replicates the architecture described in "TFSWA-ResUNet: music source separation with time–frequency sequence and shifted window attention-based ResUNet".
Instead of music source separation, this implementation adapts the model for Sound Event Separation using a subset of the DCASE 2025 Task 4 dataset. The entire training, validation, and testing pipeline is contained within a single Jupyter notebook.
Audio-Separation-ResUNet-TF-Attention/
├── TF_SA_ResUNet.ipynb # Main notebook containing model, training, and inference
└── README.md # Project documentation
This project uses a custom subset of the DCASE 2025 Task 4 dataset, reduced to facilitate efficient training while maintaining task complexity.
git clone https://github.com/kiuyha/Audio-Separation-ResUNet-TF-Attention.git
cd Audio-Separation-ResUNet-TF-Attention
This project is designed to run in Google Colab or a local Jupyter environment. All necessary dependencies are installed directly within the notebook cells.
TF_SA_ResUNet.ipynbThe code relies on standard deep learning and audio libraries:
All dependencies are automatically installed when running the notebook cells.
Pre-trained model weights are hosted on Hugging Face:
.pth file from the link aboveThe model is evaluated using the DCASE metric: CA-SDRi (Class-Aware Sound Signal-to-Distortion Ratio Improvement)
| Model Variant | CA-SDRi (dB) |
|---|---|
| ResUNet (Baseline) | 3.15857 |
| ResUNet + SpecAugment | 2.95301 |
| TF-SA-ResUNet | 5.25322 |
| TF-SA-ResUNet + SpecAugment | 4.66175 |
If you use this implementation in your research, please cite the original paper:
@article{kong2024tfswa,
title={TFSWA-ResUNet: music source separation with time–frequency sequence and shifted window attention-based ResUNet},
author={Kong, Q. and Cao, Y. and Liu, H. and Doi, K. and Iqbal, T.},
journal={Complex \& Intelligent Systems},
volume={10},
pages={1--17},
year={2024},
publisher={Springer}
}
Paper Link: TFSWA-ResUNet on Springer
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or issues, please open an issue on GitHub or contact the repository maintainer.