GithubHelp home page GithubHelp logo

ai-forever / kandinskyvideo Goto Github PK

View Code? Open in Web Editor NEW
152.0 14.0 20.0 396 MB

KandinskyVideo — multilingual end-to-end text2video latent diffusion model

License: Apache License 2.0

Python 100.00%
kandinsky latent-diffusion text-to-video video-generation

kandinskyvideo's Issues

open source

Thank you for your outstanding work. Will the training code be open sourced?

RuntimeError: size of tensors must match except in dimsion 1

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

How to save result to an mp4 file?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.