-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llama3-llava-next-8b 全参微调报错 #7102
Comments
报错的不是 transformers/models/llava_next/processing_llava_next.py 而是llamafactory 的代码 而是这 src/llamafactory/data/mm_plugin.py", line 396,
|
return BatchFeature(
data={"pixel_values": processed_images, "image_sizes": image_sizes}, tensor_type=return_tensors
) 经过了llava-next的image_processor之后应该会存在这个 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reminder
System Info
llamafactory 已经更新至最新版本
llamafactory
version: 0.9.2.dev0Reproduction
全参数微调过程报错。 一共有2个报错,
第一个是image_sizes = iter(mm_inputs["image_sizes"].tolist()) 这里的mm_inputs 中没有image_sizes,image_sizes在后面的orig_height, orig_width = next(image_sizes) 会用到
第二个是 height, width = get_image_size(to_numpy_array(mm_inputs["pixel_values"][0][0])) 中的 mm_inputs["pixel_values"][0][0] 是不是应该是mm_inputs["pixel_values"][0]??
对应代码部分
The text was updated successfully, but these errors were encountered: