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

  • Log In
  • Sign Up

RyanHangZhou
/
PICS

Image-to-Image
Diffusers
English
art
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use RyanHangZhou/PICS 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("RyanHangZhou/PICS", 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
PICS
23 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 23 commits
RyanHangZhou's picture
RyanHangZhou
Upload 2 files
4b5c0dd verified 2 months ago
  • checkpoints
    Rename checkpints/pics-step=006000_ep18.ckpt to checkpoints/pics-step=006000_ep18.ckpt 2 months ago
  • cldm
    Upload folder using huggingface_hub 2 months ago
  • configs
    Upload folder using huggingface_hub 2 months ago
  • datasets
    Upload folder using huggingface_hub 2 months ago
  • dinov2
    Upload folder using huggingface_hub 2 months ago
  • ldm
    Upload folder using huggingface_hub 2 months ago
  • sample
    Upload 2 files 2 months ago
  • scripts
    Upload folder using huggingface_hub 2 months ago
  • util
    Upload folder using huggingface_hub 2 months ago
  • .gitattributes
    1.86 kB
    Upload folder using huggingface_hub 2 months ago
  • .gitignore
    257 Bytes
    Upload .gitignore with huggingface_hub 2 months ago
  • PICS.yml
    5.25 kB
    Upload PICS.yml with huggingface_hub 2 months ago
  • README.md
    616 Bytes
    Update README.md 2 months ago
  • Readme.md
    5.42 kB
    Upload Readme.md with huggingface_hub 2 months ago
  • run_test.py
    9.56 kB
    Upload run_test.py with huggingface_hub 2 months ago
  • run_train.py
    5.49 kB
    Upload run_train.py with huggingface_hub 2 months ago