Instructions to use Joypop/GDPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Joypop/GDPO 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("Joypop/GDPO", 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
Verified signature7c9b82e -
Add metadata for license, library_name, and pipeline_tag (#1)
- Add metadata for license, library_name, and pipeline_tag (5415253ef2c273035df7c437c7425b90504b414b) Co-authored-by: Niels Rogge <[email protected]>a240e34
-
Update README.md
Verified signature7f004c0 -
Update README.md
Verified signaturee8aaafb
-
Update README.md
Verified signature1ac0d71 -
Update README.md
Verified signature213d87c -
Upload diffusion_pytorch_model.safetensors
Verified signature30ddab0 -
Upload ram_swin_large_14m.pth
Verified signaturef0ee0a5 -
Upload diffusion_pytorch_model.safetensors
Verified signaturea769dcc -
Upload DAPE.pth
Verified signature4845354 -
Add model weights
Verified signature9a1e23a
-
Update README.md
Verified signature4fe3ae6 -
Update README.md
Verified signatureb78640d -
Update GDPOSR/inferences/test.py
Verified signature9d3cc59 -
Update scripts/test/test.sh
Verified signaturee518cbe -
Update README.md
Verified signatureb7746dd -
Update README.md
Verified signature1ff18dc -
Update README.md
Verified signature3dc7cb1 -
Add model weights
Verified signaturec3e16bb -
initial commit
Verified signature85327b5