Sg4Dylan / FLAD

Fake Lossless Audio Detector
Apache License 2.0
36 stars 1 forks source link

FLAD

Fake Lossless Audio Detector

Feature

Demo

Audio: AAC downloaded from YouTube
Post-processing: EmiyaEngine
Spectrum:
Spectrum
Lossless Audio Checker (not work):
LosslessAudioChecker
Ours:
Ours

Performance

Test set: 200 samples per category (50% with noise)
Result: 798 correct identifications out of 800 samples with 99.75 % accuracy

Dependence

eval only:

train & test:

export model:

Usage

generate dataset:

# set input & output path  
audio_root = './music'
ds_root = './dataset'

then python generate.py

train model:

python train.py

test model (in pytorch):

python test.py

export model to onnx:

python export.py

eval model (in onnxruntime):
run python eval.py fake.flac