├── README.md ├── _configs ├── config_LA_SENet12_LPSseg_uf_seg600.json ├── config_LA_lcnnHalf_LPSseg_uf_seg600.json └── config_LA_lcnn_LPSseg_uf_seg600.json ├── data_loader ├── base_data_loader.py └── data_loaders.py ├── develop.py ├── eval.py ├── eval_adv.py ├── fgsm_attack.py ├── fgsm_attack2.py ├── gen_adv_wav.py ├── logger ├── __init__.py ├── logger.py ├── logger_config.json └── visualization.py ├── metrics ├── LICENSE ├── eval_metrics.py ├── evaluate_tDCF_asvspoof19.py └── evaluate_tDCF_asvspoof19_func.py ├── model ├── __init__.py ├── base_model.py ├── lcnn.py ├── loss.py ├── metric.py └── senet.py ├── parse_config.py ├── pgd_attack.py ├── pgd_attack_2.py ├── preprocess ├── compute_LMS.py ├── compute_LPS.py ├── conf │ ├── stft.json │ └── stft_T45.json ├── generic.py └── logpowerspec.py ├── run_dev.sh ├── run_dev2.sh ├── run_dev3.sh ├── run_eval.sh ├── run_eval_adv.sh ├── run_eval_adv_bb.sh ├── run_eval_adv_wb.sh ├── run_features.sh ├── run_fgsm_attack.sh ├── run_gen_adv_wav.sh ├── run_pgd_attack.sh ├── run_train.sh ├── train.py ├── trainer ├── __init__.py ├── base_trainer.py └── trainer.py └── utils ├── __init__.py └── util.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/README.md -------------------------------------------------------------------------------- /_configs/config_LA_SENet12_LPSseg_uf_seg600.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/_configs/config_LA_SENet12_LPSseg_uf_seg600.json -------------------------------------------------------------------------------- /_configs/config_LA_lcnnHalf_LPSseg_uf_seg600.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/_configs/config_LA_lcnnHalf_LPSseg_uf_seg600.json -------------------------------------------------------------------------------- /_configs/config_LA_lcnn_LPSseg_uf_seg600.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/_configs/config_LA_lcnn_LPSseg_uf_seg600.json -------------------------------------------------------------------------------- /data_loader/base_data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/data_loader/base_data_loader.py -------------------------------------------------------------------------------- /data_loader/data_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/data_loader/data_loaders.py -------------------------------------------------------------------------------- /develop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/develop.py -------------------------------------------------------------------------------- /eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/eval.py -------------------------------------------------------------------------------- /eval_adv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/eval_adv.py -------------------------------------------------------------------------------- /fgsm_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/fgsm_attack.py -------------------------------------------------------------------------------- /fgsm_attack2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/fgsm_attack2.py -------------------------------------------------------------------------------- /gen_adv_wav.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/gen_adv_wav.py -------------------------------------------------------------------------------- /logger/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/logger/__init__.py -------------------------------------------------------------------------------- /logger/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/logger/logger.py -------------------------------------------------------------------------------- /logger/logger_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/logger/logger_config.json -------------------------------------------------------------------------------- /logger/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/logger/visualization.py -------------------------------------------------------------------------------- /metrics/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/metrics/LICENSE -------------------------------------------------------------------------------- /metrics/eval_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/metrics/eval_metrics.py -------------------------------------------------------------------------------- /metrics/evaluate_tDCF_asvspoof19.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/metrics/evaluate_tDCF_asvspoof19.py -------------------------------------------------------------------------------- /metrics/evaluate_tDCF_asvspoof19_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/metrics/evaluate_tDCF_asvspoof19_func.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/model/__init__.py -------------------------------------------------------------------------------- /model/base_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/model/base_model.py -------------------------------------------------------------------------------- /model/lcnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/model/lcnn.py -------------------------------------------------------------------------------- /model/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/model/loss.py -------------------------------------------------------------------------------- /model/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/model/metric.py -------------------------------------------------------------------------------- /model/senet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/model/senet.py -------------------------------------------------------------------------------- /parse_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/parse_config.py -------------------------------------------------------------------------------- /pgd_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/pgd_attack.py -------------------------------------------------------------------------------- /pgd_attack_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/pgd_attack_2.py -------------------------------------------------------------------------------- /preprocess/compute_LMS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/preprocess/compute_LMS.py -------------------------------------------------------------------------------- /preprocess/compute_LPS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/preprocess/compute_LPS.py -------------------------------------------------------------------------------- /preprocess/conf/stft.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/preprocess/conf/stft.json -------------------------------------------------------------------------------- /preprocess/conf/stft_T45.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/preprocess/conf/stft_T45.json -------------------------------------------------------------------------------- /preprocess/generic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/preprocess/generic.py -------------------------------------------------------------------------------- /preprocess/logpowerspec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/preprocess/logpowerspec.py -------------------------------------------------------------------------------- /run_dev.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_dev.sh -------------------------------------------------------------------------------- /run_dev2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_dev2.sh -------------------------------------------------------------------------------- /run_dev3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_dev3.sh -------------------------------------------------------------------------------- /run_eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_eval.sh -------------------------------------------------------------------------------- /run_eval_adv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_eval_adv.sh -------------------------------------------------------------------------------- /run_eval_adv_bb.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_eval_adv_bb.sh -------------------------------------------------------------------------------- /run_eval_adv_wb.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_eval_adv_wb.sh -------------------------------------------------------------------------------- /run_features.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_features.sh -------------------------------------------------------------------------------- /run_fgsm_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_fgsm_attack.sh -------------------------------------------------------------------------------- /run_gen_adv_wav.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_gen_adv_wav.sh -------------------------------------------------------------------------------- /run_pgd_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_pgd_attack.sh -------------------------------------------------------------------------------- /run_train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/run_train.sh -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/train.py -------------------------------------------------------------------------------- /trainer/__init__.py: -------------------------------------------------------------------------------- 1 | from .trainer import * 2 | -------------------------------------------------------------------------------- /trainer/base_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/trainer/base_trainer.py -------------------------------------------------------------------------------- /trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/trainer/trainer.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .util import * 2 | -------------------------------------------------------------------------------- /utils/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ano-demo/AdvAttacksASVspoof/HEAD/utils/util.py --------------------------------------------------------------------------------