ai-forever / kandinskyvideo Goto Github PK
View Code? Open in Web Editor NEWKandinskyVideo — multilingual end-to-end text2video latent diffusion model
License: Apache License 2.0
KandinskyVideo — multilingual end-to-end text2video latent diffusion model
License: Apache License 2.0
Thank you for your outstanding work. Will the training code be open sourced?
How much VRAM need for inference?
And can you recommend minimum specific GPU for generating videos?
Thanks for open-sourcing this!
from video_kandinsky3 import get_T2V_pipeline
import os
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "max_split_size_mb:8024"
t2v_pipe = get_T2V_pipeline('cuda', fp16=True)
pfps = 'medium' # ['low', 'medium', 'high']
video = t2v_pipe(
'a red car is drifting on the mountain road, close view, fast movement',
width=640, height=384, fps=fps
)
RuntimeError: size of tensors must match except in dimsion 1. Expected size 2 but got size 3 for tensor number 1 in the list
After your example code...
from video_kandinsky3 import get_T2V_pipeline
t2v_pipe = get_T2V_pipeline('cuda', fp16=True)
pfps = 'medium' # ['low', 'medium', 'high']
video = t2v_pipe(
'a red car is drifting on the mountain road, close view, fast movement',
width=640, height=384, fps=fps
)
how do I save the video to an mp4 file?
Also what is the recommended fps to use?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.