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
Commit History
Update README.md 9a851bc verified
Rename checkpints/pics-step=006000_ep18.ckpt to checkpoints/pics-step=006000_ep18.ckpt 035fae5 verified
Rename checkpints/dinov2_vitg14_pretrain.pth to checkpoints/dinov2_vitg14_pretrain.pth 7b08554 verified
Rename pics-step=006000_ep18.ckpt to checkpints/pics-step=006000_ep18.ckpt c2c079d verified
Rename dinov2_vitg14_pretrain.pth to checkpints/dinov2_vitg14_pretrain.pth f85450b verified
Create README.md 30ac9cf verified
Hang Zhou commited on
Upload pics-step=006000_ep18.ckpt with huggingface_hub 6cda9d1 verified
Hang Zhou commited on
Upload dinov2_vitg14_pretrain.pth with huggingface_hub 6f1a606 verified
Hang Zhou commited on
Upload Readme.md with huggingface_hub 25614a2 verified
Hang Zhou commited on
Upload run_test.py with huggingface_hub 5e662f5 verified
Hang Zhou commited on
Upload run_train.py with huggingface_hub b230236 verified
Hang Zhou commited on
Upload PICS.yml with huggingface_hub bd557e8 verified
Hang Zhou commited on
Upload .gitignore with huggingface_hub 38a846e verified
Hang Zhou commited on
Upload folder using huggingface_hub d5cfa53 verified
Hang Zhou commited on
Upload folder using huggingface_hub 997ce7a verified
Hang Zhou commited on
Upload folder using huggingface_hub ecc7298 verified
Hang Zhou commited on
Upload folder using huggingface_hub 0103f17 verified
Hang Zhou commited on
Upload folder using huggingface_hub 5b662d1 verified
Hang Zhou commited on
Upload folder using huggingface_hub 9aff0cd verified
Hang Zhou commited on
Upload folder using huggingface_hub 9756ed1 verified
Hang Zhou commited on
Upload folder using huggingface_hub 39fac4c verified
Hang Zhou commited on
initial commit 3dad927 verified
Hang Zhou commited on