Instructions to use timbrooks/instruct-pix2pix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use timbrooks/instruct-pix2pix 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("timbrooks/instruct-pix2pix", 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
make the photo for alexandria instead showing the sea of alexandria
#29 opened 16 days ago
by
skyyyy7yy
Request: DOI
#28 opened 9 months ago
by
jalal07555
Status 503
#27 opened about 1 year ago
by
bedbad
Brushing teeth
#26 opened about 1 year ago
by
Belladonna237
How to convert it to gguf format
#25 opened about 1 year ago
by
defaultli
medieval warrior
1
#23 opened almost 2 years ago
by
ahmetgurbuzxx
How to convert the .ckpt model into a diffusers like format?
➕ 2
#21 opened over 2 years ago
by
aggr8
What training settings did you use?
2
#19 opened over 2 years ago
by
WuyangLuo
Error with latest model - Downloaded 11Jul23
1
#18 opened almost 3 years ago
by
pharmpk
can i use this for commercial purpose?
👍 1
1
#16 opened almost 3 years ago
by
kanhaiya0999
Can somehow this be used with other custom models?
1
#10 opened over 3 years ago
by
Yes69420
Unable to select the model in Stable Diffusion
1
#9 opened over 3 years ago
by
dylanldionne
How to use instruct-pix2pix in NMKD GUI tutorial - and total 15+ tutorials for Stable Diffusion
👍 1
#8 opened over 3 years ago
by
MonsterMMORPG
Tried to use OpenCl for my AMD
#7 opened over 3 years ago
by
THALES352
smaller model (pruned, fp16)
👍 1
3
#6 opened over 3 years ago
by
hikow
18 gb vram? jesus, hopfully next verson can run on my 6 gb gpu
4
#5 opened over 3 years ago
by
Hoodady
your ai feature is not working to edit photos in web app ive set everything up right but it wont do anything
#4 opened over 3 years ago
by
Nicv1990