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 / dinov2
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Hang Zhou
Upload folder using huggingface_hub
997ce7a verified 2 months ago
  • dinov2
    Upload folder using huggingface_hub 2 months ago
  • scripts
    Upload folder using huggingface_hub 2 months ago
  • CODE_OF_CONDUCT.md
    3.54 kB
    Upload folder using huggingface_hub 2 months ago
  • CONTRIBUTING.md
    1.24 kB
    Upload folder using huggingface_hub 2 months ago
  • LICENSE
    19.3 kB
    Upload folder using huggingface_hub 2 months ago
  • MODEL_CARD.md
    6.64 kB
    Upload folder using huggingface_hub 2 months ago
  • README.md
    9.63 kB
    Upload folder using huggingface_hub 2 months ago
  • conda.yaml
    436 Bytes
    Upload folder using huggingface_hub 2 months ago
  • hubconf.py
    5.92 kB
    Upload folder using huggingface_hub 2 months ago
  • pyproject.toml
    417 Bytes
    Upload folder using huggingface_hub 2 months ago
  • requirements-dev.txt
    43 Bytes
    Upload folder using huggingface_hub 2 months ago
  • requirements.txt
    213 Bytes
    Upload folder using huggingface_hub 2 months ago
  • setup.cfg
    93 Bytes
    Upload folder using huggingface_hub 2 months ago
  • setup.py
    2.63 kB
    Upload folder using huggingface_hub 2 months ago