Skip to content

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

Closed
yizheyfd opened this issue Mar 31, 2025 · 4 comments
Closed

swift训练时 Qwenvl2.0/2.5 是否采用了smart_resize #3729

yizheyfd opened this issue Mar 31, 2025 · 4 comments

Comments

@yizheyfd
Copy link

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的整数倍?

@yizheyfd
Copy link
Author

@czx94
Copy link

czx94 commented Apr 2, 2025

Same question

@Jintao-Huang
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants