I got this error

#67
by gammie12 - opened

ValueError Traceback (most recent call last)
in <cell line: 18>()
16
17 # convent to video
---> 18 video_path = export_to_video(video_frames)

/usr/local/lib/python3.10/dist-packages/diffusers/utils/export_utils.py in export_to_video(video_frames, output_video_path, fps)
133
134 fourcc = cv2.VideoWriter_fourcc(*"mp4v")
--> 135 h, w, c = video_frames[0].shape
136 video_writer = cv2.VideoWriter(output_video_path, fourcc, fps=fps, frameSize=(w, h))
137 for i in range(len(video_frames)):

ValueError: too many values to unpack (expected 3)

I have the same error. It probably has to do with the version of the torch or diffusers package...

Sign up or log in to comment