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)[source]#
Bases:
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)[source]#
Initialization method.
- Parameters:
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