执行python cli_demo.py --prompt "A girl driver a car." --image_or_video_path "/data/llm/model/video/tmp/fpso.png" --generate_type "i2v"
出现如下错误
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 16 but got size 8 for tensor number 1 in the list.
如何解决呢,谢谢!
System Info / 系統信息
cuda12.2,python3.10,linux redhat7.5。相关依赖包及版本:transformer4.45.2,diffusers>=0.30.3,accelerate>=0.34.0,imageio-ffmpeg>=0.5.1
Information / 问题信息
Reproduction / 复现过程
执行python cli_demo.py --prompt "A girl driver a car." --image_or_video_path "/data/llm/model/video/tmp/fpso.png" --generate_type "i2v" 出现如下错误 RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 16 but got size 8 for tensor number 1 in the list. 如何解决呢,谢谢!
Expected behavior / 期待表现
期望尽早解决,我自己也在找办法,谢谢