data_juicer.ops.mapper.video_audio_detect_age_gender_mapper module#
- class data_juicer.ops.mapper.video_audio_detect_age_gender_mapper.VideoAudioDetectAgeGenderMapper(*args, **kwargs)[源代码]#
基类:
MapperDetect age and gender (male, female, child) from video audio signals using a pretrained wav2vec2 model.
Source: This operator is a part of HumanVBench (CVPR 2026).
- __init__(hf_audio_mapper: str = None, tag_field_name: str = 'audio_speech_attribute', *args, **kwargs)[源代码]#
Initialization method.
- 参数:
keep_original_sample -- whether to keep the original sample. If it's set to False, there will be only captioned sample in the final datasets and the original sample will be removed. It's True in default.
args -- extra args
kwargs -- extra args