Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 3.16 KB

prep_dcr_ccr.md

File metadata and controls

55 lines (40 loc) · 3.16 KB

Home > Preparation > Preparation of DCR/CCR test

Preparation of DCR/CCR test

The following steps should be performed to prepare the DCR/CCR test setup. For all the resource files (steps 1-4) an example is provided in src/test_inputs using the ITU-T Sup23 Dataset.

Note: make sure to first perform steps listed in the general preparation process.

Note: Within DCR and CCR method, the quality of a speech clip is compared to a reference clip e.g. a same clip without being artificially processed.

  1. Upload your speech clips and the references in a cloud server and create the rating_clips.csv file which contains all URLs to speech clips in a column named rating_clips and URLs to the corresponding reference clips in references. (see rating_clips_ccr.csv as an example).

    Note about file names:

    • Later in the analyzes, clip's file name will be used as a unique key and appears in the results.
    • In case you have 'conditions' which are represented with more than one clip, you may consider to use the condition's name in the clip's file name e.g. xxx_c01_xxxx.wav. When you provide the corresponding pattern, the analyzes script will create aggregated results over conditions as well.
  2. Upload your training clips in a cloud server and create the training_clips.csv file which contains all URLs in a column named training_clips and URLs to corresponding reference clips in column training_references (see training_clips_ccr.csv as an example).

    Hint: Training clips are used for anchoring participants perception, and should represent the entire dataset. They should approximately cover the range from worst to best quality to be expected in the test. It may contain about 5 clips.

  3. Create your custom project by running the master script:

    1. Configure the project in your config file. See master script configuration for more information.

    2. Run master script with all above-mentioned resources as input (following example is for ccr)

      cd src
      python master_script.py ^
          --project YOUR_PROJECT_NAME ^
          --method ccr ^
          --cfg your_configuration_file.cfg ^
          --clips rating_clips.csv ^
          --training_clips training_clips.csv 

      Note: file paths are expected to be relative to the current working directory.

    3. Double check the outcome of the script. A folder should be created with YOUR_PROJECT_NAME in current working directory which contains:

    • YOUR_PROJECT_NAME_ccr.html: Customized HIT app to be used in Amazon Mechanical Turk (AMT).
    • YOUR_PROJECT_NAME_publish_batch.csv: List of dynamic content to be used during publishing batch in AMT.
    • YOUR_PROJECT_NAME_ccr_result_parser.cfg: Customized configuration file to be used by result_parser.py script

Now, you are ready for Running the Test on Amazon Mechanical Turk.