IndexError: too many indices for tensor of dimension 2
#2
by
zhxy
- opened
huggingface/modules/transformers_modules/OpenGVLab/VideoChat-Flash-Qwen2_5-2B_res448/ee222dcf618c9fd85e85ddc76340ec84894806b9/modeling_qwen2_flash.py", line 1231, in
features = [cur_features[cur_attention_mask] for cur_features, cur_attention_mask in zip(features, attention_mask)]