Image url encoding issue: https://huggingface.co/Qwen/Qwen-VL/blob/main/modeling_qwen.py#L561

#9
by zhangyu - opened

https://huggingface.co/Qwen/Qwen-VL/blob/main/modeling_qwen.py#L561
Shouldn't this line be image = input_ids[i][a + 1: b].tolist() ?
image = input_ids[i][a + 1: b- 1].tolist() miss the last input_id of the image sequence.

Sign up or log in to comment