Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

BelGio13
/
cogvideoX-I2V-locobot

Image-to-Video
Diffusers
diffusers-training
lora
cogvideox
cogvideox-diffusers
template:sd-lora
Model card Files Files and versions
xet
Community

Instructions to use BelGio13/cogvideoX-I2V-locobot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use BelGio13/cogvideoX-I2V-locobot with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image, export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("THUDM/CogVideoX-5b-I2V", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("BelGio13/cogvideoX-I2V-locobot")
    
    prompt = "Realistic motion, smooth, complete, high resolution"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png")
    
    output = pipe(image=input_image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
cogvideoX-I2V-locobot
1.86 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
BelGio13's picture
BelGio13
Update README.md
5f9c0e8 verified over 1 year ago
  • checkpoint-1000
    End of training over 1 year ago
  • checkpoint-500
    End of training over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.77 kB
    Update README.md over 1 year ago
  • pytorch_lora_weights.safetensors
    264 MB
    xet
    End of training over 1 year ago