Text-to-Image
Diffusers
Safetensors
stable-diffusion
stable-diffusion-diffusers
lora
photorealistic
people
cars
textures
Instructions to use Pedro21613/PS-IMAGE-1.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Pedro21613/PS-IMAGE-1.3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Pedro21613/PS-IMAGE-1.3") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download training_config.json from Pedro21613/PS-IMAGE-1.3: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/Pedro21613/PS-IMAGE-1.3/resolve/main/training_config.json
- Command line
-
hf download hf://Pedro21613/PS-IMAGE-1.3/training_config.json
-
curl -L -o training_config.json https://huggingface.co/Pedro21613/PS-IMAGE-1.3/resolve/main/training_config.json
446 Bytes
| { | |
| "steps": 800, | |
| "batch": 2, | |
| "accum": 2, | |
| "lr": 0.00022, | |
| "warmup": 80, | |
| "weight_decay": 0.0001, | |
| "rank": 16, | |
| "alpha": 32, | |
| "dropout": 0.05, | |
| "min_snr_gamma": 5.0, | |
| "ema_decay": 0.995, | |
| "ckpt_every": 800, | |
| "target_modules": [ | |
| "to_q", | |
| "to_k", | |
| "to_v", | |
| "to_out.0", | |
| "ff.net.0.proj", | |
| "ff.net.2" | |
| ], | |
| "caps": { | |
| "people": 700, | |
| "cars": 600, | |
| "textures": 520 | |
| }, | |
| "per_class_cap": { | |
| "people": 1200, | |
| "cars": 8, | |
| "textures": 16 | |
| } | |
| } |