Text-to-Image
Diffusers
TensorBoard
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
textual_inversion
Instructions to use AACEE/textual_inversion_airship with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AACEE/textual_inversion_airship 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-2-depth", dtype=torch.bfloat16, device_map="cuda") pipe.load_textual_inversion("AACEE/textual_inversion_airship") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download feature_extractor/preprocessor_config.json from AACEE/textual_inversion_airship: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/AACEE/textual_inversion_airship/resolve/main/feature_extractor/preprocessor_config.json
- Command line
-
hf download hf://AACEE/textual_inversion_airship/feature_extractor/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/AACEE/textual_inversion_airship/resolve/main/feature_extractor/preprocessor_config.json
382 Bytes
| { | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "ensure_multiple_of": 1, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "DPTImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "keep_aspect_ratio": false, | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 384, | |
| "width": 384 | |
| } | |
| } | |