Views
No views yet
reazon-research/japanese-avhubert-base-iter2$ pip install git+https://github.com/reazon-research/ReazonSpeech.git#subdirectory=pkg/avsrtransformers directly1from transformers import AutoFeatureExtractor, AutoModel
2
3extractor = AutoFeatureExtractor.from_pretrained("reazon-research/japanese-avhubert-base-iter2", trust_remote_code=True)
4model = AutoModel.from_pretrained("reazon-research/japanese-avhubert-base-iter2", trust_remote_code=True)
5
6inputs = extractor(raw_audio="path/to/audio", raw_video="path/to/video")
7# If mouth extraction is not performed, you can add `extract_mouth=True`
8inputs = extractor(raw_audio="path/to/audio", raw_video="path/to/video", extract_mouth=True)
9
10outputs = model(**inputs)reazonspeech.avsr packagetrust_remote_code, please install reazonspeech.avsr.1from reazonspeech.avsr import AVHubertFeatureExtractor, AVHubertModel
2
3extractor = AVHubertFeatureExtractor.from_pretrained("reazon-research/japanese-avhubert-base-iter2")
4model = AVHubertModel.from_pretrained("reazon-research/japanese-avhubert-base-iter2")
5
6inputs = extractor(raw_audio="path/to/audio", raw_video="path/to/video")
7# If mouth extraction is not performed, you can add `extract_mouth=True`
8inputs = extractor(raw_audio="path/to/audio", raw_video="path/to/video", extract_mouth=True)
9
10outputs = model(**inputs)@misc{reazon-research/japanese-avhubert-base-iter2,
title={japanese-avhubert-base-iter2},
author={Sasaki, Yuta},
url = {https://huggingface.co/reazon-research/japanese-avhubert-base-iter2},
year = {2025}
}
@article{shi2022avhubert,
author = {Bowen Shi and Wei-Ning Hsu and Kushal Lakhotia and Abdelrahman Mohamed},
title = {Learning Audio-Visual Speech Representation by Masked Multimodal Cluster Prediction},
journal = {arXiv preprint arXiv:2201.02184}
year = {2022}
}
@article{shi2022avsr,
author = {Bowen Shi and Wei-Ning Hsu and Abdelrahman Mohamed},
title = {Robust Self-Supervised Audio-Visual Speech Recognition},
journal = {arXiv preprint arXiv:2201.01763}
year = {2022}
}