|
--- |
|
tags: |
|
- text-to-image |
|
- lora |
|
- diffusers |
|
- template:diffusion-lora |
|
- Shadow Projection |
|
- Flare |
|
widget: |
|
- text: >- |
|
Shadow Projection, a close-up shot of a womans face is visible. Her eyes are |
|
a piercing blue, and her eyelashes are a darker shade of blue. Her eyebrows |
|
are a dark brown, and she has long, wavy brown hair. Her lips are a lighter |
|
shade of brown, with a slight smile on her lips. The womans eyebrows are |
|
dark, adding a touch of depth to her face. The background is blurred, and |
|
the womans shadow is cast on the right side of the frame. |
|
output: |
|
url: images/SP1.png |
|
- text: >- |
|
Shadow Projection, Captured from a close-up, eye-level perspective, a |
|
medium-sized boy with dark brown eyes and dark brown hair stands in front of |
|
a window. The boys face is angled slightly to the left, with a slight smile |
|
on his lips. His eyes are a piercing blue, and his eyebrows are a darker |
|
brown. His lips are a lighter shade of brown, and he is wearing a plaid |
|
shirt with a white collar. The background of the boy is blurred, and the |
|
boys shadow is cast on the window. |
|
output: |
|
url: images/SP2.png |
|
- text: >- |
|
Shadow Projection, A close-up shot of a mans face is captured in a low-angle |
|
perspective. The mans eyes are a piercing blue, and his eyebrows are a |
|
darker shade of brown. His lips are a lighter shade of pink, and he has a |
|
brown mustache and goatee. He is wearing a brown jacket, and the background |
|
is blurred. |
|
output: |
|
url: images/SP3.png |
|
base_model: black-forest-labs/FLUX.1-dev |
|
instance_prompt: Shadow Projection |
|
license: creativeml-openrail-m |
|
--- |
|
# Shadow-Projection-Flux-LoRA |
|
|
|
<Gallery /> |
|
|
|
- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC |
|
|
|
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.** |
|
|
|
## Model description |
|
|
|
**prithivMLmods/Shadow-Projection-Flux-LoRA** |
|
|
|
Image Processing Parameters |
|
|
|
| Parameter | Value | Parameter | Value | |
|
|---------------------------|--------|---------------------------|--------| |
|
| LR Scheduler | constant | Noise Offset | 0.03 | |
|
| Optimizer | AdamW | Multires Noise Discount | 0.1 | |
|
| Network Dim | 64 | Multires Noise Iterations | 10 | |
|
| Network Alpha | 32 | Repeat & Steps | 26 & 3200| |
|
| Epoch | 16 | Save Every N Epochs | 1 | |
|
|
|
Labeling: florence2-en(natural language & English) |
|
|
|
Total Images Used for Training : 15 [ Hi-RES ] |
|
|
|
## Best Dimensions |
|
|
|
- 1024 x 1024 (Default) |
|
|
|
## Setting Up |
|
``` |
|
import torch |
|
from pipelines import DiffusionPipeline |
|
|
|
base_model = "black-forest-labs/FLUX.1-dev" |
|
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16) |
|
|
|
lora_repo = "prithivMLmods/Shadow-Projection-Flux-LoRA" |
|
trigger_word = "Shadow Projection" |
|
pipe.load_lora_weights(lora_repo) |
|
|
|
device = torch.device("cuda") |
|
pipe.to(device) |
|
``` |
|
## Data source |
|
|
|
- https://freeflo.ai/ |
|
|
|
## Trigger words |
|
|
|
You should use `Shadow Projection` to trigger the image generation. |
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/prithivMLmods/Shadow-Projection-Flux-LoRA/tree/main) them in the Files & versions tab. |