|
--- |
|
tags: |
|
- text-to-image |
|
- lora |
|
- diffusers |
|
- template:diffusion-lora |
|
widget: |
|
- text: 'realism engine, A close-up shot of a young man with dark brown curly hair and blue eyes. He is wearing a black jacket with a black collar. The background is blurred, but it is out of focus.' |
|
output: |
|
url: images/1.png |
|
- text: 'realism engine, a woman is seated on a blue chair, her hair cascading down her shoulders. She is wearing a light blue sweater, a yellow tank top, and plaid pajama bottoms. Her lips are painted pink, adding a pop of color to her face. The backdrop is a gray wall, and the chair she is sitting on is a dark blue.' |
|
output: |
|
url: images/2.png |
|
- text: 'realism engine, a woman stands with her left hand on her hip, her right hand resting on her left knee. She is dressed in a gray sleeveless dress, adorned with a cowl neckline. Her hair is pulled back, cascading over her shoulders, adding a touch of movement to her face. The backdrop is a stark white wall, with a green fern plant in the lower right corner. The lighting is subdued, creating a stark contrast to the womans dress.' |
|
output: |
|
url: images/3.png |
|
- text: 'realism engine, a medium-sized Asian woman with long, wavy brown hair stands against a stark white backdrop. She is wearing a white t-shirt with a low neckline. Her lips are painted a vibrant shade of pink, adding a pop of color to her face. Her eyes are a deep blue, and her eyebrows are a lighter shade of brown. Her hair is cascading down her shoulders, framing her entire face.' |
|
output: |
|
url: images/4.png |
|
- text: 'Realism engine, a tall man with short black hair and a neatly trimmed beard is standing in front of a rustic brick wall. He is wearing a dark gray overcoat and a white shirt underneath. His expression is serious, and his hands are in his coat pockets. The lighting is soft, casting gentle shadows on his face.' |
|
output: |
|
url: images/5.png |
|
- text: 'Realism engine, a young woman with light brown skin and short curly hair is outdoors, standing in front of a garden filled with vibrant green plants. She is wearing a denim jacket over a floral dress. The sunlight highlights her hair, giving it a golden tint. She has a warm smile, and her eyes are bright.' |
|
output: |
|
url: images/6.png |
|
base_model: black-forest-labs/FLUX.1-dev |
|
instance_prompt: realism engine |
|
license: apache-2.0 |
|
--- |
|
![sfefsef.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/m9C3uHzYiWcrAEMk8f9dG.png) |
|
|
|
<Gallery /> |
|
|
|
# Model description for Flux-Realism-v2-Beta |
|
|
|
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 | 16 & 2650 | |
|
| Epoch | 18 | Save Every N Epochs | 1 | |
|
|
|
Labeling: florence2-en(natural language & English) |
|
|
|
Total Images Used for Training : 29 |
|
|
|
## Best Dimensions & Inference |
|
|
|
| **Dimensions** | **Aspect Ratio** | **Recommendation** | |
|
|-----------------|------------------|---------------------------| |
|
| 1280 x 832 | 3:2 | Best | |
|
| 1024 x 1024 | 1:1 | Default | |
|
|
|
### Inference Range |
|
|
|
- **Recommended Inference Steps:** 30–35 |
|
|
|
## Setting Up |
|
```python |
|
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 = "strangerzonehf/Flux-Realism-v2-Beta" |
|
trigger_word = "realism engine" |
|
pipe.load_lora_weights(lora_repo) |
|
|
|
device = torch.device("cuda") |
|
pipe.to(device) |
|
``` |
|
|
|
## Trigger words |
|
|
|
You should use `realism engine` to trigger the image generation. |
|
|
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/strangerzonehf/Flux-Realism-v2-Beta/tree/main) them in the Files & versions tab. |
|
|