Instructions to use frknayk/dreambooth_training with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use frknayk/dreambooth_training with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("frknayk/dreambooth_training", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of sks dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download diffusers/docs/source/en/api/loaders.md from frknayk/dreambooth_training: direct link, hf CLI and curl.
- Browser
- Download file 1.64 kB
-
https://huggingface.co/frknayk/dreambooth_training/resolve/main/diffusers/docs/source/en/api/loaders.md
- Command line
-
hf download hf://frknayk/dreambooth_training/diffusers/docs/source/en/api/loaders.md
-
curl -L -o loaders.md https://huggingface.co/frknayk/dreambooth_training/resolve/main/diffusers/docs/source/en/api/loaders.md
Loaders
Adapters (textual inversion, LoRA, hypernetworks) allow you to modify a diffusion model to generate images in a specific style without training or finetuning the entire model. The adapter weights are typically only a tiny fraction of the pretrained model's which making them very portable. 🤗 Diffusers provides an easy-to-use LoaderMixin API to load adapter weights.
🧪 The LoaderMixins are highly experimental and prone to future changes. To use private or gated models, log-in with huggingface-cli login.
UNet2DConditionLoadersMixin
[[autodoc]] loaders.UNet2DConditionLoadersMixin
TextualInversionLoaderMixin
[[autodoc]] loaders.TextualInversionLoaderMixin
LoraLoaderMixin
[[autodoc]] loaders.LoraLoaderMixin
FromSingleFileMixin
[[autodoc]] loaders.FromSingleFileMixin
FromOriginalControlnetMixin
[[autodoc]] loaders.FromOriginalControlnetMixin
FromOriginalVAEMixin
[[autodoc]] loaders.FromOriginalVAEMixin