Instructions to use CarolineM5/InstructPix2Pix_WithoutPrompt_4_faces with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CarolineM5/InstructPix2Pix_WithoutPrompt_4_faces with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CarolineM5/InstructPix2Pix_WithoutPrompt_4_faces", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload config.json
Browse files- unet/config.json +0 -1
unet/config.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DModel",
|
| 3 |
"_diffusers_version": "0.35.1",
|
| 4 |
-
"_name_or_path": "model_fiber_RGB/checkpoint-200000/",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"add_attention": true,
|
| 7 |
"attention_head_dim": 8,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DModel",
|
| 3 |
"_diffusers_version": "0.35.1",
|
|
|
|
| 4 |
"act_fn": "silu",
|
| 5 |
"add_attention": true,
|
| 6 |
"attention_head_dim": 8,
|