Korean-stable-diffusion
Collection
νκ΅μ΄ stable diffusion: T2I & T2V
β’
5 items
β’
Updated
β’
1
Github: Kyujinpy/Tune-A-VideKO
Test prompt: λ―Έν€λ§μ°μ€κ° μνμ νκ³ μμ΅λλ€
Test prompt: ν μ¬μκ° μνμ νκ³ μμ΅λλ€
Test prompt: ν°μ μ·μ μ μ λ¨μκ° λ°λ€λ₯Ό κ±·κ³ μμ΅λλ€
Clone the github repo
git clone https://github.com/showlab/Tune-A-Video.git
Run inference code
from tuneavideo.pipelines.pipeline_tuneavideo import TuneAVideoPipeline
from tuneavideo.models.unet import UNet3DConditionModel
from tuneavideo.util import save_videos_grid
import torch
pretrained_model_path = "Bingsu/my-korean-stable-diffusion-v1-5"
unet_model_path = "kyujinpy/Tune-A-VideKO-v1-5"
unet = UNet3DConditionModel.from_pretrained(unet_model_path, subfolder='unet', torch_dtype=torch.float16).to('cuda')
pipe = TuneAVideoPipeline.from_pretrained(pretrained_model_path, unet=unet, torch_dtype=torch.float16).to("cuda")
pipe.enable_xformers_memory_efficient_attention()
prompt = "ν°μ μ·μ μ
μ λ¨μκ° λ°λ€λ₯Ό κ±·κ³ μμ΅λλ€"
video = pipe(prompt, video_length=24, height=512, width=512, num_inference_steps=50, guidance_scale=12.5).videos
save_videos_grid(video, f"./{prompt}.gif")
Base model
Bingsu/my-korean-stable-diffusion-v1-5