File size: 2,118 Bytes
deadbb0
 
 
9863391
1c7f110
9863391
1c7f110
b204810
 
 
 
df7ab71
 
b204810
 
 
 
 
 
 
 
 
 
 
 
 
 
 
df7ab71
 
f9f6cdf
b204810
deadbb0
149dbe1
 
 
 
 
 
 
 
 
 
 
 
 
 
b257fdb
901bbf5
 
 
 
 
ce294d2
64e72a8
0e760a7
64e72a8
0e760a7
64e72a8
0e760a7
64e72a8
0e760a7
bfff2aa
0e760a7
64e72a8
0e760a7
9863391
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
62
63
64
65
66
67
---
license: creativeml-openrail-m
tags:
- stable-diffusion
- stable-diffusion-diffusers
- text-to-image
inference: true
extra_gated_prompt: >-
  This model is open access and available to all, with a CreativeML OpenRAIL-M
  license further specifying rights and usage.

  The CreativeML OpenRAIL License specifies: 


  1. You can't use the model to deliberately produce nor share illegal or
  harmful outputs or content 

  2. CompVis claims no rights on the outputs you generate, you are free to use
  them and are accountable for their use which must not go against the
  provisions set in the license

  3. You may re-distribute the weights and use the model commercially and/or as
  a service. If you do, please be aware you have to include the same use
  restrictions as the ones in the license and share a copy of the CreativeML
  OpenRAIL-M to all your users (please read the license entirely and carefully)

  Please read the full license carefully here:
  https://huggingface.co/spaces/CompVis/stable-diffusion-license
      
extra_gated_heading: Please read the LICENSE to access this model
library_name: diffusers
pipeline_tag: text-to-image
---
### Diffusers
```py
from diffusers import StableDiffusionPipeline
import torch

model_id = "acondess/lineart"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "a photo of an astronaut riding a horse on mars"
image = pipe(prompt).images[0]  
    
image.save("astronaut_rides_horse.png")
```
F
复现文档:

https://cloud.alipay.com/developer/0945907cc6974a5bb6efc9660672f5fb/post/212fb91ee59443aa81257d8e70cfe22f

https://www.yuque.com/dengchao-enlft/nngkbu/qlknlkc2pmkceyi3?singleDoc# 《Stable Diffusion基于Dreambooth训练自定义模型》

底模为revAnimated_v122.safetensors

使用Dreambooth训练

数据集为Coloring Book Objects Dataset

提示词:

lineart of cat,coloring book,high quality,

参数:

Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 629188890, Size: 512x512, Model hash: 77e875916e, Model: lineart_2000_lora, Clip skip: 2, ENSD: 31337, Version: v1.5.1