You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it should repeat temporal_patch_size - (patches.shape[0] % temporal_patch_size) instead of temporal_patch_size - 1, to make sure patches.shape[0] can be divisible by temporal_patch_size.
@InsaneGe hey, I agree it is not very generalizable and seems that the prev PR was merged to fix only certain cases for num_frames. Feel free to make a PR :)
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
System Info
in the _preprocess function of Qwen2VLImageProcessor Class(
transformers/src/transformers/models/qwen2_vl/image_processing_qwen2_vl.py
Line 278 in 348f328
it should repeat
temporal_patch_size - (patches.shape[0] % temporal_patch_size)
instead of temporal_patch_size - 1, to make sure patches.shape[0] can be divisible by temporal_patch_size.Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
nothing
Expected behavior
nothing
The text was updated successfully, but these errors were encountered: