Put the dataset into the dataset1 folder and run the pipe.sh
.
Below image shows the spectograms of the original (top) and DF (bottom) samples for the example audio which vocalizes the transcript:
Government approves new policy to support small businesses amid economic slowdown.
The word approves converted to rejects.
The reproduce.sh
script is used to run evaluations on different datasets using different models and specified versions of the data. This script automates the process of running the evaluation and computing the scores for the models and datasets.
Please refer to the ./reproduce/
folder for more details on benchmark models used, scripts and references.
To run the script, provide detection model, dataset and version as arguments. For example:
./reproduce.sh <detection model> <dataset> <version>
<detection model>
: The detection model to be used. Possible values areconf-3
,mamba
<dataset>
: The dataset to be evaluated. Possible values areASVspoof2021DF
,ITW
,WaveFake
<version>
: The version of the dataset to be evaluated. Possible values areoriginal
orphonemeFake
.
-
To run the evaluation on the
ASVspoof2021DF
dataset with theoriginal
version using themamba
detection model (RawBMamba):./reproduce.sh mamba ASVspoof2021DF original
-
To run the evaluation on the
ITW
dataset with thephonemeFake
version using theconf-3
detection model (SCL Deep Fake Detection's conf-3):./reproduce.sh conf-3 ITW phonemeFake
The dataset directories are defined at the beginning of the script, please do not forget to update the directories.