feat(case): add more case
Browse files- Examples.md +29 -2
- assets/Ink-Horse/finetune_final_p0.svg +90 -0
- assets/Ink-Horse/finetune_final_p1.svg +90 -0
- assets/Ink-Horse/finetune_final_p2.svg +90 -0
- assets/Ink-Horse/finetune_final_p3.svg +90 -0
- assets/Ink-Horse/finetune_final_p4.svg +90 -0
- assets/Ink-Horse/finetune_final_p5.svg +90 -0
- assets/Painting-SelfPortrait/finetune_final_p0.svg +0 -0
- assets/Painting-SelfPortrait/finetune_final_p1.svg +0 -0
- assets/Painting-SelfPortrait/finetune_final_p2.svg +0 -0
- assets/Painting-SelfPortrait/finetune_final_p3.svg +0 -0
- assets/Painting-SelfPortrait/finetune_final_p4.svg +0 -0
- assets/Painting-SelfPortrait/finetune_final_p5.svg +0 -0
- svgdreamer/painter/painter_params.py +2 -2
Examples.md
CHANGED
@@ -128,9 +128,36 @@ python svgdreamer.py x=sketch "prompt='self portrait. Van Gogh.'" "neg_prompt='t
|
|
128 |
python svgdreamer.py x=ink "prompt='The Big Wild Goose Pagoda. ink style. Minimalist abstract art grayscale watercolor.'" "neg_prompt='text, extra, missing, unfinished, watermark, signature, username, scan, frame'" result_path='./logs/BigWildGoosePagoda_neg' seed=130890
|
129 |
```
|
130 |
|
131 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
````shell
|
134 |
python svgdreamer.py x=painting "prompt='self portrait of Van Gogh. oil painting. cmyk portrait. multi colored. defiant and beautiful. cmyk. expressive eyes.'" x.num_paths=256 result_path='./logs/VanGogh-Portrait'
|
135 |
-
python svgdreamer.py x=ink "prompt='Black and white. simple horse flash tattoo. ink style. Minimalist abstract art grayscale watercolor. simple painting style'" "neg_prompt='text, extra, missing, unfinished, watermark, signature, username, scan, frame'" x.num_paths=64 result_path='./logs/HorseInk'
|
136 |
````
|
|
|
128 |
python svgdreamer.py x=ink "prompt='The Big Wild Goose Pagoda. ink style. Minimalist abstract art grayscale watercolor.'" "neg_prompt='text, extra, missing, unfinished, watermark, signature, username, scan, frame'" result_path='./logs/BigWildGoosePagoda_neg' seed=130890
|
129 |
```
|
130 |
|
131 |
+
### Case: Horse
|
132 |
+
|
133 |
+
**Prompt:** Black and white. simple horse flash tattoo. ink style. Minimalist abstract art grayscale watercolor. simple
|
134 |
+
painting style. <br/>
|
135 |
+
**style:** Ink and Wash <br/>
|
136 |
+
**Preview:**
|
137 |
+
|
138 |
+
| Particle 1 | Particle 2 | Particle 3 | Particle 4 | Particle 5 | Particle 6 |
|
139 |
+
|:----------------------------------------------------:|:----------------------------------------------------:|:----------------------------------------------------:|:--------------------------------------------------:|:----------------------------------------------------:|:----------------------------------------------------:|
|
140 |
+
| <img src="./assets/Ink-Horse/finetune_final_p0.svg"> | <img src="./assets/Ink-Horse/finetune_final_p1.svg"> | <img src="./assets/Ink-Horse/finetune_final_p2.svg"> | <img src="assets/Ink-Horse/finetune_final_p3.svg"> | <img src="./assets/Ink-Horse/finetune_final_p4.svg"> | <img src="./assets/Ink-Horse/finetune_final_p5.svg"> |
|
141 |
+
|
142 |
+
**Script:**
|
143 |
+
|
144 |
+
```shell
|
145 |
+
python svgdreamer.py x=ink "prompt='Black and white. simple horse flash tattoo. ink style. Minimalist abstract art grayscale watercolor. simple painting style'" "neg_prompt='text, extra, missing, unfinished, watermark, signature, username, scan, frame'" x.num_paths=128 result_path='./logs/HorseInk'
|
146 |
+
```
|
147 |
+
|
148 |
+
### Case: Self Portrait, Van Gogh
|
149 |
+
|
150 |
+
**Prompt:** self portrait of Van Gogh. oil painting. cmyk portrait. multi colored. defiant and beautiful. cmyk.
|
151 |
+
expressive eyes. <br/>
|
152 |
+
**style:** Painting <br/>
|
153 |
+
**Preview:**
|
154 |
+
|
155 |
+
| Particle 1 | Particle 2 | Particle 3 | Particle 4 | Particle 5 | Particle 6 |
|
156 |
+
|:----------------------------------------------------------------:|:----------------------------------------------------------------:|:----------------------------------------------------------------:|:--------------------------------------------------------------:|:----------------------------------------------------------------:|:----------------------------------------------------------------:|
|
157 |
+
| <img src="./assets/Painting-SelfPortrait/finetune_final_p0.svg"> | <img src="./assets/Painting-SelfPortrait/finetune_final_p1.svg"> | <img src="./assets/Painting-SelfPortrait/finetune_final_p2.svg"> | <img src="assets/Painting-SelfPortrait/finetune_final_p3.svg"> | <img src="./assets/Painting-SelfPortrait/finetune_final_p4.svg"> | <img src="./assets/Painting-SelfPortrait/finetune_final_p5.svg"> |
|
158 |
+
|
159 |
+
**Script:**
|
160 |
|
161 |
````shell
|
162 |
python svgdreamer.py x=painting "prompt='self portrait of Van Gogh. oil painting. cmyk portrait. multi colored. defiant and beautiful. cmyk. expressive eyes.'" x.num_paths=256 result_path='./logs/VanGogh-Portrait'
|
|
|
163 |
````
|
assets/Ink-Horse/finetune_final_p0.svg
ADDED
|
assets/Ink-Horse/finetune_final_p1.svg
ADDED
|
assets/Ink-Horse/finetune_final_p2.svg
ADDED
|
assets/Ink-Horse/finetune_final_p3.svg
ADDED
|
assets/Ink-Horse/finetune_final_p4.svg
ADDED
|
assets/Ink-Horse/finetune_final_p5.svg
ADDED
|
assets/Painting-SelfPortrait/finetune_final_p0.svg
ADDED
|
assets/Painting-SelfPortrait/finetune_final_p1.svg
ADDED
|
assets/Painting-SelfPortrait/finetune_final_p2.svg
ADDED
|
assets/Painting-SelfPortrait/finetune_final_p3.svg
ADDED
|
assets/Painting-SelfPortrait/finetune_final_p4.svg
ADDED
|
assets/Painting-SelfPortrait/finetune_final_p5.svg
ADDED
|
svgdreamer/painter/painter_params.py
CHANGED
@@ -731,7 +731,7 @@ class PainterOptimizer:
|
|
731 |
|
732 |
|
733 |
class LinearDecayWithKeepLRLambda:
|
734 |
-
"""apply in
|
735 |
|
736 |
def __init__(self, init_lr, keep_ratio, decay_every, decay_ratio):
|
737 |
self.init_lr = init_lr
|
@@ -753,7 +753,7 @@ class LinearDecayWithKeepLRLambda:
|
|
753 |
|
754 |
|
755 |
class CosineWithWarmupLRLambda:
|
756 |
-
"""apply in
|
757 |
|
758 |
def __init__(self, num_steps, warmup_steps, warmup_start_lr, warmup_end_lr, cosine_end_lr):
|
759 |
self.n_steps = num_steps
|
|
|
731 |
|
732 |
|
733 |
class LinearDecayWithKeepLRLambda:
|
734 |
+
"""apply in SIVE stage"""
|
735 |
|
736 |
def __init__(self, init_lr, keep_ratio, decay_every, decay_ratio):
|
737 |
self.init_lr = init_lr
|
|
|
753 |
|
754 |
|
755 |
class CosineWithWarmupLRLambda:
|
756 |
+
"""apply in VPSD stage"""
|
757 |
|
758 |
def __init__(self, num_steps, warmup_steps, warmup_start_lr, warmup_end_lr, cosine_end_lr):
|
759 |
self.n_steps = num_steps
|