Text-to-Image
Diffusers
TensorBoard
diffusers-training
lora
template:sd-lora
stable-diffusion-xl
stable-diffusion-xl-diffusers
Instructions to use DKTech/dreambooth-test-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DKTech/dreambooth-test-1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("DKTech/dreambooth-test-1") prompt = "A photo of sks dog in a bucket" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -99,6 +99,10 @@ pipe.load_lora_weights(lora_model_id)
|
|
| 99 |
image = pipe("A picture of an elephant that looks like a dog.", num_inference_steps=25).images[0]
|
| 100 |
image.save("my_image.png")
|
| 101 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
|
| 103 |
#### Limitations and bias
|
| 104 |
|
|
|
|
| 99 |
image = pipe("A picture of an elephant that looks like a dog.", num_inference_steps=25).images[0]
|
| 100 |
image.save("my_image.png")
|
| 101 |
```
|
| 102 |
+
#### Fine tuning the original model
|
| 103 |
+
This model was created by fine tuning the original stable diffusion model based on the instructions here- https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_sdxl.md
|
| 104 |
+
Various other base models (other than stable diffusion) can also be fine tuned using DreamBooth. For example, some discussion on fine tuning Playground 2.5 model can be found here- https://github.com/huggingface/diffusers/pull/7126
|
| 105 |
+
|
| 106 |
|
| 107 |
#### Limitations and bias
|
| 108 |
|