Downloads · 30 days
14
5% of all-time downloads
dtthanh/aodai_v1
aodai_v1 is a text-to-image model from dtthanh. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
LoRA Adapter for black-forest-labs/FLUX.1-dev trained on 16 pictures of young women wearing a traditional Vietnamese dess ao dai with ai-toolkit
Downloads · 30 days
14
5% of all-time downloads
All-time downloads
285
Public
Repo size
344 MB
Likes
0
Public
Click a slice to open those files.
.safetensors344 MB · 98%
From the Hugging Face model README
LoRA Adapter for black-forest-labs/FLUX.1-dev trained on 16 pictures of young women wearing a traditional Vietnamese dess ao dai with ai-toolkit
Some Amusing Examples
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(1).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(3).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(4).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(5).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(6).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(7).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(8).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(9).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(10).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(11).png" width=576>
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/aodai%20(12).png" width=576>
LoRA was trained with the trigger phrase a0da1
Full training config available at train_lora_flux.yaml
With diffusers package
Note: FLUX uses ~70GBvram when loaded directly with diffusers
Note: Recommended to load at ~70% scale for best results
from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
pipeline.load_lora_weights("dtthanh/aodai_v1", weight_name="aodai_v1.safetensors")
pipeline.to("cuda")
prompt = "a photo of a young Asian women dressed in traditional Vietnamese dress called a0da1."
out = pipeline(
prompt=prompt,
guidance_scale=3.5,
num_inference_steps=20,
cross_attention_kwargs={"scale": 0.7}
).images[0]
out.save("aodai.png")
ComfyUI Workflow
<img src="https://huggingface.co/dtthanh/aodai_v1/resolve/main/Screenshot%202024-09-07%20222710.png" width=800>File available at workflow_aodai_lora.json
Please see base model page black-forest-labs/FLUX.1-dev for all details on appropriate usage, licensing, and more.