Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,62 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-to-image
|
4 |
+
- lora
|
5 |
+
- diffusers
|
6 |
+
- template:sd-lora
|
7 |
+
- ai-toolkit
|
8 |
+
- colorization
|
9 |
+
base_model: black-forest-labs/FLUX.1-Kontext-dev
|
10 |
+
instance_prompt: >-
|
11 |
+
colorize
|
12 |
+
license: unlicense
|
13 |
+
widget:
|
14 |
+
- text: Colorize this photo (optional)
|
15 |
+
output:
|
16 |
+
url: outputs/01.png
|
17 |
+
- src: inputs/01.jpg
|
18 |
+
prompt: Colorize this photo (optional)
|
19 |
+
output:
|
20 |
+
url: outputs/01.png
|
21 |
+
- text: Colorize this photo (optional)
|
22 |
+
output:
|
23 |
+
url: outputs/02.png
|
24 |
+
- src: inputs/02.jpg
|
25 |
+
prompt: Colorize this photo (optional)
|
26 |
+
output:
|
27 |
+
url: outputs/02.png
|
28 |
+
- text: Colorize this photo (optional)
|
29 |
+
output:
|
30 |
+
url: outputs/03.png
|
31 |
+
- src: inputs/03.jpg
|
32 |
+
prompt: Colorize this photo (optional)
|
33 |
+
output:
|
34 |
+
url: outputs/03.png
|
35 |
+
---
|
36 |
+
# COLORIZE TRUER (Variant 6)
|
37 |
+
## Low(ish) Rank Adapter (LoRA) for Flux Kontext
|
38 |
+
## Towards Consistent + Promptless Kontext Photo Colorization
|
39 |
+
## |||| By SilverAgePoets.com ||||
|
40 |
+
|
41 |
+
<Gallery />
|
42 |
+
|
43 |
+
This version is from the same training as [Colorize Truer Var6](https://huggingface.co/AlekseyCalvin/ColorizeTruer_KontextFluxVar6_BySAP), but resized down from Rank 64 to Rank 16, for portability + easier merging with other variants. <br>
|
44 |
+
Our aim with this checkpoint, & other Colorize Truer/+ LoRAs, is to help restore Kontext Dev towards the far more impressive photo colorization capabilities of Kontext Pro/Max, whilst further reinforcing task-specific reliability & realism at the standards of professional manual colorization. <br>
|
45 |
+
This adapter was trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) over roughly 600 grayscale/colorized pairings of real archival photos. <br>
|
46 |
+
|
47 |
+
The colorized (output) portion of the custom dataset we consolidated to train these "Colorize Truer" LoRAs consists of: <br>
|
48 |
+
Open use manual/professional colorizations of historical photos (roughly half of the data). <br>
|
49 |
+
Colorized outputs from Flux Kontext Max & Pro (the rest of the data). <br>
|
50 |
+
|
51 |
+
The source photos were sourced from public domain, and represent a broad scope of geographical, cultural, aesthetic, historical (from late 1830s thru today), & other paradigms/contexts. <br>
|
52 |
+
|
53 |
+
## Trigger words
|
54 |
+
No trigger words neccessary. <br>
|
55 |
+
With that said, with some inputs, it may be neccessary to specify `colorize` or `colorize and upscale this photo. Leave all else the same.` as the instruction prompt. <br>
|
56 |
+
One may also prompt in suggestions/corrections/directions, as far as specific choices of color. <br>
|
57 |
+
To "modernize" outputs, one may try: `Colorize and upscale the photo. Restore crisp detailing. Rich tonality. Make indistinguishable from top quality UHD 50MP+ or 12k+ pro 2025 DSLR camera colorized_02.CR2 photo. restore blurred details. Retain facial features with great fidelity source. Add fine detailing only where missing. Render real life like tones. Leave unchanged all else about photo.`, etc... <br>
|
58 |
+
|
59 |
+
## Further usage tips:
|
60 |
+
For many inputs, a somewhat lower LoRA scale measure (0.7 or 0.8) seems to work best. Other inputs, however, seem to benefit from scales at around 1.2/1.3. <br>
|
61 |
+
Make sure to match-up input/output dimensions, primarily to ensure fidelity of details/identity. <br>
|
62 |
+
With starkly differing dimensions, the model might also get confused in regards to its instruction. <br>
|