Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

lilelife
/
SyntheOcc

Image-to-Image
Diffusers
Safetensors
Model card Files Files and versions
xet
Community
1

Instructions to use lilelife/SyntheOcc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use lilelife/SyntheOcc with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("lilelife/SyntheOcc", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
SyntheOcc
5.76 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 11 commits
lilelife's picture
lilelife
Upload adampiweight-20250320T031227Z-001.zip
d8c637f verified about 1 year ago
  • nuscenes_pkl
    Upload adampiweight-20250320T031227Z-001.zip about 1 year ago
  • train_syntheocc
    Upload 4 files over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.48 kB
    Add link to paper, pipeline tag (#1) over 1 year ago