Views
No views yet
2025-01-06: Reduced package dependencies.2023-07-26: Released real-time av-asr training code.
pip install torch torchvision torchaudio pytorch-lightning sentencepiece av1python train.py --exp-dir=[exp_dir] \
2 --exp-name=[exp_name] \
3 --modality=[modality] \
4 --root-dir=[root_dir] \
5 --train-file=[train_file] \
6 --num-nodes=[num_nodes]exp-dir: Directory to save checkpoints and logs to, default: ./exp.exp-name: Experiment name. Location of checkpoints is [exp_dir]/[exp_name].modality: Type of input modality, valid values: video and audio.root-dir: Root directory of preprocessed dataset.train-file: Filename of training label list.num-nodes: Number of machines used, default: 4.group-name: Group name of the task (wandb API).val-file: Filename of validation label list, default: lrs3_test_transcript_lengths_seg16s.csv.test-file: Filename of testing label list, default: lrs3_test_transcript_lengths_seg16s.csv.gpus: Number of gpus in each machine, default: 8.pretrained-model-path: Path to the pre-trained model.transfer-frontend Flag to load the front-end only, works with pretrained-model-path.transfer-encoder Flag to load the weights of encoder, works with pretrained-model-path.lr: Learning rate, default: 1e-3.warmup-epochs: Number of epochs for warmup, default: 5.max-epochs: Number of epochs, default: 75.max-frames: Maximal number of frames in a batch, default: 1600.weight-decay: Weight decay, default: 0.05.ctc-weight: Weight of CTC loss, default: 0.1.train-num-buckets: Bucket size for the training set, default: 400.ckpt-path: Path of the checkpoint from which training is resumed.slurm-job-id: Slurm job id, default: 0.debug: Flag to use debug level for loggingTrainer for experiment tracking as needed.max-frames to the largest to fit into your GPU memory.1python eval.py --modality=[modality] \
2 --root-dir=[root_dir] \
3 --test-file=[test_file] \
4 --pretrained-model-path=[pretrained_model_path]modality: Type of input modality, valid values: video and audio.root-dir: Root directory of preprocessed dataset.test-file: Filename of testing label list, default: lrs3_test_transcript_lengths_seg16s.csv.pretrained-model-path: Path to the pre-trained model, set to [exp_dir]/[exp_name]/model_avg_10.pth, default: null.decode-snr-target: Level of signal-to-noise ratio (SNR), default: 999999.debug: Flag to use debug level for logging| Model | Training data (h) | WER [%] | Params (M) | MD5 |
|---|---|---|---|---|
vsr_trlrs3_23h_base.pth | 438 | 93.0 | 250 | fc8db |
vsr_trlrs3_base.pth | 438 | 36.0 | 250 | c00a7 |
vsr_trlrs3vox2_base.pth | 1759 | 24.6 | 250 | 774a6 |
vsr_trlrs2lrs3vox2avsp_base.pth | 3291 | 20.3 | 250 | 49f77 |
asr_trlrs3_base.pth | 438 | 2.0 | 243 | 8af72 |
asr_trlrs3vox2_base.pth | 1759 | 1.0 | 243 | f0c5c |
1@inproceedings{ma2023auto,
2 author={Ma, Pingchuan and Haliassos, Alexandros and Fernandez-Lopez, Adriana and Chen, Honglie and Petridis, Stavros and Pantic, Maja},
3 booktitle={IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
4 title={Auto-AVSR: Audio-Visual Speech Recognition with Automatic Labels},
5 year={2023},
6 pages={1-5},
7 doi={10.1109/ICASSP49357.2023.10096889}
8}[Pingchuan Ma](mapingchuan0420[at]gmail.com)