Skip to content

Conversation

@beveradb
Copy link
Collaborator

@beveradb beveradb commented Apr 28, 2025

At the moment, the integration tests only check that the output files exist, not that the audio separation actually separated the stems correctly.

This PR makes the integration tests way more meaningful and valuable, by adding expected waveform & spectrogram images for the separated output audio stems, for the test track, for every model included in the integration test.

The test then compares the similarity of the expected vs. actual waveform/spectrogram images using the SSIM image similarity index, and only passes if the similarity is > 90%.

As such, if the actual audio separation implementation gets broken, or one of these model files gets corrupted or accidentally swapped etc. this test should fail, as the expected output audio stems will no longer match.

@beveradb beveradb merged commit aa09eb8 into main Apr 28, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants