├── .gitignore ├── README.md ├── config ├── bam_wavlm.yaml └── bam_xlsr.yaml ├── dataset ├── base_dataset.py ├── partialspoof.py ├── ps_preprocess.py └── resample.py ├── models ├── bam.py ├── loss.py └── modules │ ├── attention.py │ ├── gap.py │ └── resnet.py ├── requirements.txt ├── res ├── introduction.png └── overview.png ├── train.py └── utils ├── __init__.py ├── analyze.py ├── collect.py ├── display.py ├── metric.py └── tool.py /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | exp/ 3 | data/ 4 | out/ 5 | pretrained/ 6 | __pycache__/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/README.md -------------------------------------------------------------------------------- /config/bam_wavlm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/config/bam_wavlm.yaml -------------------------------------------------------------------------------- /config/bam_xlsr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/config/bam_xlsr.yaml -------------------------------------------------------------------------------- /dataset/base_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/dataset/base_dataset.py -------------------------------------------------------------------------------- /dataset/partialspoof.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/dataset/partialspoof.py -------------------------------------------------------------------------------- /dataset/ps_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/dataset/ps_preprocess.py -------------------------------------------------------------------------------- /dataset/resample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/dataset/resample.py -------------------------------------------------------------------------------- /models/bam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/models/bam.py -------------------------------------------------------------------------------- /models/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/models/loss.py -------------------------------------------------------------------------------- /models/modules/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/models/modules/attention.py -------------------------------------------------------------------------------- /models/modules/gap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/models/modules/gap.py -------------------------------------------------------------------------------- /models/modules/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/models/modules/resnet.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/requirements.txt -------------------------------------------------------------------------------- /res/introduction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/res/introduction.png -------------------------------------------------------------------------------- /res/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/res/overview.png -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/train.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/analyze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/utils/analyze.py -------------------------------------------------------------------------------- /utils/collect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/utils/collect.py -------------------------------------------------------------------------------- /utils/display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/utils/display.py -------------------------------------------------------------------------------- /utils/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/utils/metric.py -------------------------------------------------------------------------------- /utils/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/media-sec-lab/BAM/HEAD/utils/tool.py --------------------------------------------------------------------------------