export_to_video issue
This issue is coming, it was not there yesterday:
ValueError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/diffusers/utils/export_utils.py in export_to_video(video_frames, output_video_path, fps) 130 131 fourcc = cv2.VideoWriter_fourcc(*"mp4v") --> 132 h, w, c = video_frames[0].shape 133 video_writer = cv2.VideoWriter(output_video_path, fourcc, fps=fps, frameSize=(w, h)) 134 for i in range(len(video_frames)):
ValueError: too many values to unpack (expected 3)
May be because video_frames[0] has shape = (16, 256, 256, 3)
Problem with main but stable is working fine
Hi @lucken99 could you please share a code example so that I can reproduce the error. We recently merged #6626 that could cause this issue.
It's there in the post itself while calling pipe. You can check the full code here: T2V
fixed with https://github.com/huggingface/diffusers/pull/6715