ValueError: Image features and image tokens do not match: tokens: 27624, features 34828
#31
by
Jdemonn
- opened
I was training the Qwen2.5-VL-3B-Instruct Model,but I got this error.How can I fix this problem.BTW,I guess maybe the reason that my dataset have images in different size.
Try tokenizing your conversation, make your conversation messages have image (format: file_path, PIL, etc.). Then pass it to processor.