prithivMLmods commited on
Commit
2e7ef2e
·
verified ·
1 Parent(s): b96c367

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +63 -3
README.md CHANGED
@@ -1,3 +1,63 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - Qwen/Qwen-Image-Edit-2511
7
+ pipeline_tag: image-to-image
8
+ library_name: diffusers
9
+ tags:
10
+ - lora
11
+ - flat-log
12
+ - true-color
13
+ ---
14
+
15
+ # **QIE-2511-FlatLog2TrueColor**
16
+
17
+ > **QIE-2511-FlatLog2TrueColor** is an adapter LoRA developed for Qwen’s **Qwen-Image-Edit-2511** image-to-image model, designed to transform flat log images into true, natural colors. The model restores contrast, saturation, and tonal balance while preserving the original identity, composition, textures, and geometry. It enables accurate color recovery with smooth highlight roll-off, well-controlled shadows, and artifact-free results.
18
+
19
+ ## **Quick Start with Diffusers**
20
+
21
+ > Compatible with versions **2509** and **2511**.
22
+
23
+ ```bash
24
+ pip install -U diffusers transformers accelerate
25
+ ```
26
+
27
+ ```python
28
+ import torch
29
+ from diffusers import DiffusionPipeline
30
+ from diffusers.utils import load_image
31
+
32
+ # Switch to "mps" for Apple devices
33
+ pipe = DiffusionPipeline.from_pretrained(
34
+ "Qwen/Qwen-Image-Edit-2511",
35
+ dtype=torch.bfloat16,
36
+ device_map="cuda"
37
+ )
38
+
39
+ pipe.load_lora_weights("prithivMLmods/QIE-2511-FlatLog2TrueColor")
40
+
41
+ prompt = "Transform a flat log image into true colors"
42
+
43
+ input_image = load_image(
44
+ "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png"
45
+ )
46
+
47
+ image = pipe(image=input_image, prompt=prompt).images[0]
48
+ ```
49
+
50
+ **Trained on [ModelScope.cn](https://modelscope.cn)**
51
+
52
+ ## **Trigger Prompt**
53
+
54
+ Use the following prompt to activate the flat-log to true-color behavior:
55
+
56
+ ```
57
+ Transform a flat log image into true colors
58
+ ```
59
+
60
+ ## **Download Model**
61
+
62
+ You can download the model files from the **Files & versions** tab:
63
+ [Download](https://huggingface.co/prithivMLmods/QIE-2511-FlatLog2TrueColor/tree/main)