RuntimeError: shape '[-1, 0]' is invalid for input of size 1206

#1
by 2U1 - opened

It keeps throwing me an error of RuntimeError: shape '[-1, 0]' is invalid for input of size 1206 in the video inference.
The last size changes but the same error occurs every time.

OpenGVLab org
This comment has been hidden
OpenGVLab org
This comment has been hidden
OpenGVLab org

You need to install transformers==4.40.1, I modify the qwen2 of this version.

Sign up or log in to comment