Forced-Alignment-and-Vowel-Extraction / fave-asr

Interface for automated transcription and time alignment of conversational interview data
https://forced-alignment-and-vowel-extraction.github.io/fave-asr/
GNU General Public License v3.0
3 stars 0 forks source link

[Bug]: Tests fail because of rounding errors #5

Closed chrisbrickhouse closed 9 months ago

chrisbrickhouse commented 9 months ago

Contact Details

No response

What happened?

The tests for functions that align and assign speakers expect equality with a known standard output, but different hardware will yield slightly different results leading to build failures if exact equivalence is expected.

For example test_diarize uses assert_allclose to check that the weights and probabilities are within some tolerance rather than exactly equivalent, but test_align_segments asserts exact equivalence leading to build failures.

What operating system are you using?

Ubuntu

Relevant log output

No response

Code of Conduct