Note: The validation settings are not necessarily the same as the
training settings
.
You can find some example images in the following gallery:
Prompt
unconditional (blank prompt)
Negative Prompt
blurry, cropped, ugly
Prompt
A scene from My Hero Academia. Ochaco Uraraka holding a sign that says 'I LOVE PROMPTS!', she is standing full body on a beach at sunset. She is wearing her pink and black hero costume with a utility belt. The setting sun casts a dynamic shadow on her smiling face.
Negative Prompt
blurry, cropped, ugly
Prompt
A scene from My Hero Academia. Ochaco Uraraka jumping out of a propeller airplane, sky diving. She looks thrilled and her short brown hair is flying upward. The sky is clear and blue, and there are birds pictured in the distance.
Negative Prompt
blurry, cropped, ugly
Prompt
A scene from My Hero Academia. Ochaco Uraraka spinning a basketball on her finger on a basketball court. She is wearing a Lakers jersey with the #12 on it. The basketball hoop and cheering crowd are in the background. She is beaming with confidence.
Negative Prompt
blurry, cropped, ugly
Prompt
A scene from My Hero Academia. Ochaco Uraraka is wearing a suit in an office, shaking the hand of a businesswoman. The woman has purple hair and is wearing professional attire. There is a Google logo in the background. It is during daytime, and the overall sentiment is one of accomplishment and celebration.
Negative Prompt
blurry, cropped, ugly
Prompt
A scene from My Hero Academia. Ochaco Uraraka is fighting a large brown grizzly bear, deep in a forest. The bear is tall and standing on two legs, roaring. The bear is also wearing a crown because it is the king of all bears. Around them are tall trees and other animals watching in awe.
Negative Prompt
blurry, cropped, ugly
The text encoder
was not
trained.
You may reuse the base model text encoder for inference.
import torch
from diffusers import DiffusionPipeline
model_id = 'black-forest-labs/FLUX.1-dev'
adapter_id = 'adipanda/ochaco-standard-lora-1'
pipeline = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16) # loading directly in bf16
pipeline.load_lora_weights(adapter_id)
prompt = "An astronaut is riding a horse through the jungles of Thailand."## Optional: quantise the model to save on vram.## Note: The model was quantised during training, and so it is recommended to do the same during inference time.from optimum.quanto import quantize, freeze, qint8
quantize(pipeline.transformer, weights=qint8)
freeze(pipeline.transformer)
pipeline.to('cuda'if torch.cuda.is_available() else'mps'if torch.backends.mps.is_available() else'cpu') # the pipeline is already in its target precision level
image = pipeline(
prompt=prompt,
num_inference_steps=20,
generator=torch.Generator(device='cuda'if torch.cuda.is_available() else'mps'if torch.backends.mps.is_available() else'cpu').manual_seed(42),
width=1024,
height=1024,
guidance_scale=3.5,
).images[0]
image.save("output.png", format="PNG")
Runs of adipanda ochaco-standard-lora-1 on huggingface.co
109
Total runs
2
24-hour runs
9
3-day runs
7
7-day runs
76
30-day runs
More Information About ochaco-standard-lora-1 huggingface.co Model
ochaco-standard-lora-1 huggingface.co is an AI model on huggingface.co that provides ochaco-standard-lora-1's model effect (), which can be used instantly with this adipanda ochaco-standard-lora-1 model. huggingface.co supports a free trial of the ochaco-standard-lora-1 model, and also provides paid use of the ochaco-standard-lora-1. Support call ochaco-standard-lora-1 model through api, including Node.js, Python, http.
ochaco-standard-lora-1 huggingface.co is an online trial and call api platform, which integrates ochaco-standard-lora-1's modeling effects, including api services, and provides a free online trial of ochaco-standard-lora-1, you can try ochaco-standard-lora-1 online for free by clicking the link below.
adipanda ochaco-standard-lora-1 online free url in huggingface.co:
ochaco-standard-lora-1 is an open source model from GitHub that offers a free installation service, and any user can find ochaco-standard-lora-1 on GitHub to install. At the same time, huggingface.co provides the effect of ochaco-standard-lora-1 install, users can directly use ochaco-standard-lora-1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
ochaco-standard-lora-1 install url in huggingface.co: