Picsart-AI-Research / Text2Video-Zero

[ICCV 2023 Oral] Text-to-Image Diffusion Models are Zero-Shot Video Generators
https://text2video-zero.github.io/
Other
4k stars 345 forks source link

Saving all picts to a folder? #34

Open mischaschaub opened 1 year ago

mischaschaub commented 1 year ago

Would it be possible to save all rendered picts out, before they are compressed to a movie?

rob-hen commented 1 year ago

Hi @mischaschaub,

all images can be accessed here in the outputs variable, before the video is produced.

joaomede commented 1 year ago
result = self.inference

result is a set of images compatible with the huggingface pipeline, that is, use numpy to handle the array of images and with cv2 you will be able to save... loop to save each image.