Skip to main content

Task 3 Baseline

A baseline system for all of the tasks is provided as part of the latest release of the PyClarity toolkit available on GitHub. For this challenge round we ask entrants to use latest packaged release in the v0.5.x series.

The baseline takes the form of a pipeline of three Python scripts,

  • enhance.py
  • evaluate.py
  • report_scores.py

The first of these can be replaced by your own enhancement system, while the other two scripts should remain fixed to match how we will evaluate final submissions. For the development set, the reference signals have been provided so you can run the complete pipeline and obtain scores. For the final evaluation set, we will not release references, but instead, you will send us the enhanced signals and we will score them remotely using the same scripts.

Enhancement

The enhance.py script performs the baseline enhancement. The baseline simply takes the 6-channel hearing aid inputs and reduces this to a stereo hearing aid output by passing through the 'front' microphone signal of the left and right ear.

The stereo pair is then passed through a hearing aid amplification stage using a NAL-R [1] fitting amplification and a simple automatic gain compressor. The amplification is determined by the audiograms defined by the scene-listener pairs in clarity_data/metadata/scenes_listeners.dev.json for the development set. After amplification, the evaluate function calculates the better-ear HASPI [2].

Evaluation

Once the enhancement has been run, the evaluate.py script can compute the HASPI scores for the signals stored in the amplified_signals folder. The script will read the scene-listener pairs from the development set and calculate the HASPI score for each pair. The final score is the mean HASPI score across all pairs.

The results are stored in a CSV file which is then read by the final report_scores.py script which will generate a report. This two step process means that it is easy to run evaluate on multiple processors on subsets of the full evaluation set: each processes will produce a separate CSV and report_score.py will collate the results, check their integrity and generate the final report.

The scripts have been designed to run with minimal configuration, but with flexible options for performing partial runs, parallel processing, or running on a cluster. For full documentation and examples of how to run the scripts see the README.md file in the CEC3 baseline recipe of the PyClarity toolkit on GitHub.

Baseline performance for Task 3

Running all three scripts on Task 3 will lead to the following output:

To appear

The mean HASPI score (XXX) is the metric that will be used for ranking. The table shows the mean HASPI score for each SNR range to help you understand the performance of your system.