-
Notifications
You must be signed in to change notification settings - Fork 637
swift训练时 Qwenvl2.0/2.5 是否采用了smart_resize #3729
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
Comments
那normlize_bbox https://github.com/modelscope/ms-swift/blob/main/swift/llm/template/base.py#L157 的时候,里面norm_size使用的是经过了smart_resize后的图像尺寸的参数? |
Same question |
是的 |
ms-swift/swift/llm/template/template/qwen.py中 https://github.com/modelscope/ms-swift/blob/main/swift/llm/template/template/qwen.py#L237 设置了do_resize为false,是否意味着未采用对应的smart_resize预处理操作呢,而仅仅使用了https://github.com/modelscope/ms-swift/blob/main/swift/llm/template/vision_utils.py#L87 中的scale_image函数,这样是否能保证Patch_size 为 14*14的整数倍?
The text was updated successfully, but these errors were encountered: