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

Robbyant-Research
/
PPMem

Image-to-Video
Diffusers
Safetensors
video-generation
novel-view-synthesis
camera-control
3d
Model card Files Files and versions
xet
Community

Instructions to use Robbyant-Research/PPMem with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Robbyant-Research/PPMem 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("Robbyant-Research/PPMem", dtype=torch.bfloat16, device_map="cuda")
    pipe.to("cuda")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    image = load_image(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
    )
    
    output = pipe(image=image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
PPMem
25.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
hyz317's picture
hyz317
init
983c159 1 day ago
  • assets
    init 1 day ago
  • text_encoder
    init 1 day ago
  • tokenizer
    init 1 day ago
  • vae
    init 1 day ago
  • .gitattributes
    1.84 kB
    init 1 day ago
  • README.md
    2.73 kB
    init 1 day ago
  • model-00001-of-00003.safetensors
    4.99 GB
    xet
    init 1 day ago
  • model-00002-of-00003.safetensors
    4.97 GB
    xet
    init 1 day ago
  • model-00003-of-00003.safetensors
    1.22 GB
    xet
    init 1 day ago
  • model.safetensors.index.json
    95.8 kB
    init 1 day ago