tellurion commited on
Commit
313bba5
·
verified ·
1 Parent(s): e2ea72f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -14
README.md CHANGED
@@ -46,20 +46,24 @@ python -u app.py
46
  The default server address is http://localhost:7860.
47
 
48
  #### Important inference options
49
- | Options | Description |
50
- |:--------------------------|:----------------------------------------------------------------------------------------------------------------|
51
- | Mask guide mode | Activate mask guided attention and corresponding lora weights for colorization. |
52
- | Crossattn scale | Used to diminish all kinds of artifacts caused by the distribution problem. |
53
- | Pad reference with margin | Used to diminish spatial entanglement, pad reference to T times of current width. |
54
- | Reference guidance scale | Classifier-free guidance scale of the reference image, suggested 5. |
55
- | Preprocessor | Preprocessing for the sketch input. **Extract** is suggested if the sketch input is complicated pencil drawing. |
56
- | Sketch guidance scale | Classifier-free guidance scale of the sketch image, suggested 1. |
57
- | Attention injection | Strengthen similarity with reference through self-injection. |
58
- | Visualize | Used for local manipulation. Visualize the regions selected by each threshold. |
59
-
60
- For artifacts like spatial entanglement like this
61
- ![img](assets/entanglement.png)
62
- Please activate background enhance (optionally with foreground enhance).
 
 
 
 
63
 
64
  ## Manipulation
65
 
 
46
  The default server address is http://localhost:7860.
47
 
48
  #### Important inference options
49
+ | Options | Description |
50
+ |:----------------------|:--------------------------------------------------------------------------------------------------|
51
+ | BG enhance | Low-level feature injection for v2 models. |
52
+ | FG enhance | Useless for currently open-sourced models. |
53
+ | Reference strength | Decreasing it to increase semantic fidelity to sketch inputs. |
54
+ | Foreground strength | Similar to reference strength but only for foreground region. Need to activate FG or BG enhance. |
55
+ | Preprocessor | Sketch preprocessing. **Extract** is suggested if the sketch input is complicated pencil drawing. |
56
+ | Line extractor | Line extractors used when preprocessor is **Extract**. |
57
+ | Sketch guidance scale | Classifier-free guidance scale of the sketch image, suggested 1. |
58
+ | Attention injection | Noised low-level feature injection, 2x inference time. |
59
+
60
+
61
+ ### 768-level Cross-content colorization results (from v2)
62
+ ![img](assets/cross-1.png)
63
+ ![img](assets/cross-2.png)
64
+ ### 1536-level Character colorization results (from XL)
65
+ ![img](assets/disentanglement2.png)
66
+ ![img](assets/demon.png)
67
 
68
  ## Manipulation
69