ZFTurbo / Music-Source-Separation-Training

Repository for training models for music source separation.
MIT License
491 stars 68 forks source link

Refactor: Implement Test-Time Augmentation (TTA) as a decorator #67

Closed hunterhogan closed 3 months ago

hunterhogan commented 3 months ago

This change introduces a decorator-based approach for applying Test-Time Augmentation (TTA) during audio source separation. The apply_use_tta decorator encapsulates the TTA logic, allowing for cleaner and more modular code. This enhances code readability and maintainability by separating the TTA implementation from the core source separation logic.

ZFTurbo commented 3 months ago

I prefer to not have decorators inside this project. It's easier to do coding and debugging without them.