Update README.md
Browse files
README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
# LoRA model of the Genshin Characters
|
2 |
-
## Data source
|
3 |
Manually captured 64 characters at different angles in the character directory of the Genshin game, 20 pictures for each character.
|
4 |
|
5 |
-
## Train
|
6 |
Training code: [lora-scripts](https://github.com/Akegarasu/lora-scripts).
|
7 |
|
8 |
Batch training code: [batch_train_loras](https://github.com/RobertLau666/batch_train_loras).
|
9 |
|
10 |
-
## Usage
|
11 |
prompt:
|
12 |
```txt
|
13 |
1[Gender], solo, [EN_Name], [Arbitrary scene description]
|
@@ -38,4 +38,12 @@ pipe = pipe.to("cuda")
|
|
38 |
prompt = "1girl, Nahida, solo, on the playground"
|
39 |
image = pipe(prompt).images[0]
|
40 |
image.save("./hatsune_miku.png")
|
41 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# LoRA model of the Genshin Characters
|
2 |
+
## Data source
|
3 |
Manually captured 64 characters at different angles in the character directory of the Genshin game, 20 pictures for each character.
|
4 |
|
5 |
+
## Train
|
6 |
Training code: [lora-scripts](https://github.com/Akegarasu/lora-scripts).
|
7 |
|
8 |
Batch training code: [batch_train_loras](https://github.com/RobertLau666/batch_train_loras).
|
9 |
|
10 |
+
## Usage
|
11 |
prompt:
|
12 |
```txt
|
13 |
1[Gender], solo, [EN_Name], [Arbitrary scene description]
|
|
|
38 |
prompt = "1girl, Nahida, solo, on the playground"
|
39 |
image = pipe(prompt).images[0]
|
40 |
image.save("./hatsune_miku.png")
|
41 |
+
```
|
42 |
+
|
43 |
+
## Result
|
44 |
+
```txt
|
45 |
+
Gender: girl
|
46 |
+
EN_Name: Nahida, YaeMiko, Ganyu
|
47 |
+
Arbitrary scene description: on the playground, in the classroom
|
48 |
+
```
|
49 |
+
![combined](combined.webp)
|