Textual Inversion Embeddings for Aerial Imagery
Collection
Stable Diffusion 2.1 base-based Textual Inversion LoRA Adapters for Aerial Imagery. โข 13 items โข Updated
Run dinushiTJ/src_textual_inversion on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/dinushiTJ/src_textual_inversion. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/dinushiTJ/src_textual_inversion on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use dinushiTJ/src_textual_inversion 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-1-base", dtype=torch.bfloat16, device_map="cuda")
pipe.load_textual_inversion("dinushiTJ/src_textual_inversion")These are textual inversion adaption weights for stabilityai/stable-diffusion-2-1-base. You can find some example images in the following.
# TODO: add an example code snippet for running this diffusion pipeline
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]
Base model
stabilityai/stable-diffusion-2-1-base