File size: 1,659 Bytes
a1073ed 7ef2d5e 0df30d8 7ef2d5e 0df30d8 7ef2d5e fa7ce4a 7ef2d5e 0df30d8 17069f9 d137a1e a8d1d71 d137a1e a468943 d137a1e a468943 d137a1e fa7ce4a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
---
license: creativeml-openrail-m
base_model: Linaqruf/anything-v3.0
tags:
- stable-diffusion
- stable-diffusion-ppdiffusers
- ppdiffusers
- DreamBooth
- text-to-image
---
# DreamBooth - Liyulingyue/Neolle_Face_Generator
本仓库的权重是基于 Linaqruf/anything-v3.0 训练而来的,我们采用[DreamBooth](https://dreambooth.github.io/)的技术并使用`a photo of Neolle`文本进行了训练。
用于微调的图片共10张,均为原神角色诺艾尔,batch_size取1,学习率是5e-6,共训练1000步。
## 一些提示词示例 - Some prompt examples
- Noelle with glasses
- Noelle with sunglasses
- Noelle with dark hair, beautiful eyes
- Noelle, 20 years old
- Noelle playing basketball
- Noelle with cat ears, blue hair
## 生成图片展示 - Generated Images
![](example_imgs/1.jpg)
![](example_imgs/2.jpg)
![](example_imgs/3.jpg)
![](example_imgs/4.jpg)
## 使用方法 - How to use it
```
# In any Jupyter Enviroment
! git lfs install
! git clone https://huggingface.co/Liyulingyue/Neolle_Face_Generator
! pip install -U paddlepaddle paddlenlp ppdiffusers visualdl safetensors --user
from ppdiffusers import StableDiffusionPipeline
# 加载模型
model_path = "Neolle_Face_Generator"
pipe = StableDiffusionPipeline.from_pretrained(model_path)
# 提示词,生成一个带猫耳,绿色头发的诺艾尔
prompt = "Noelle with cat ears, green hair"
# 生成
image = pipe(prompt, num_inference_steps=50,guidance_scale=10).images[0]
# 保存
image.save("test.jpg")
# 展示图片
image.show()
```
## 更多示例以及一件运行+生成 - More information
https://aistudio.baidu.com/aistudio/projectdetail/5912535 |