Update README.md
Browse files
README.md
CHANGED
|
@@ -21,10 +21,57 @@ base_model: Qwen/Qwen-Image
|
|
| 21 |
instance_prompt: Studio Realism
|
| 22 |
license: apache-2.0
|
| 23 |
---
|
|
|
|
|
|
|
|
|
|
| 24 |
# Qwen-Image-Studio-Realism
|
| 25 |
|
| 26 |
<Gallery />
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
## Trigger words
|
| 30 |
|
|
@@ -35,3 +82,4 @@ You should use `Studio Realism` to trigger the image generation.
|
|
| 35 |
|
| 36 |
|
| 37 |
[Download](/prithivMLmods/Qwen-Image-Studio-Realism/tree/main) them in the Files & versions tab.
|
|
|
|
|
|
| 21 |
instance_prompt: Studio Realism
|
| 22 |
license: apache-2.0
|
| 23 |
---
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
|
| 27 |
# Qwen-Image-Studio-Realism
|
| 28 |
|
| 29 |
<Gallery />
|
| 30 |
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
# Model description for Qwen-Image-Studio-Realism
|
| 34 |
+
|
| 35 |
+
Image Processing Parameters
|
| 36 |
+
|
| 37 |
+
| Parameter | Value | Parameter | Value |
|
| 38 |
+
|---------------------------|--------|---------------------------|--------|
|
| 39 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
| 40 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
| 41 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
| 42 |
+
| Network Alpha | 32 | Repeat & Steps | 20 & 2790 |
|
| 43 |
+
| Epoch | 20 | Save Every N Epochs | 1 |
|
| 44 |
+
|
| 45 |
+
Labeling: florence2-en(natural language & English)
|
| 46 |
+
|
| 47 |
+
Total Images Used for Training : 27 [HQ Images]
|
| 48 |
+
|
| 49 |
+
## Best Dimensions & Inference
|
| 50 |
+
|
| 51 |
+
| **Dimensions** | **Aspect Ratio** | **Recommendation** |
|
| 52 |
+
|-----------------|------------------|---------------------------|
|
| 53 |
+
| 1472 x 1140 | 4:3 (approx.) | Best |
|
| 54 |
+
| 1024 x 1024 | 1:1 | Default |
|
| 55 |
+
|
| 56 |
+
### Inference Range
|
| 57 |
+
|
| 58 |
+
- **Recommended Inference Steps:** 35-50
|
| 59 |
+
|
| 60 |
+
## Setting Up
|
| 61 |
+
```python
|
| 62 |
+
import torch
|
| 63 |
+
from diffusers import DiffusionPipeline
|
| 64 |
+
|
| 65 |
+
base_model = "Qwen/Qwen-Image"
|
| 66 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
| 67 |
+
|
| 68 |
+
lora_repo = "prithivMLmods/Qwen-Image-Studio-Realism"
|
| 69 |
+
trigger_word = "Studio Realism"
|
| 70 |
+
pipe.load_lora_weights(lora_repo)
|
| 71 |
+
|
| 72 |
+
device = torch.device("cuda")
|
| 73 |
+
pipe.to(device)
|
| 74 |
+
```
|
| 75 |
|
| 76 |
## Trigger words
|
| 77 |
|
|
|
|
| 82 |
|
| 83 |
|
| 84 |
[Download](/prithivMLmods/Qwen-Image-Studio-Realism/tree/main) them in the Files & versions tab.
|
| 85 |
+
|