FredZhang7
commited on
Commit
•
9d0b3b9
1
Parent(s):
4aeab19
Completed the Diffusers example
Browse files
README.md
CHANGED
@@ -108,8 +108,8 @@ prompt = "((oil painting)), gentle waves, bright blue sky, white sails billowing
|
|
108 |
negative_prompt = "low-res, blurry, haze, dark clouds looming, choppy waves, engine failing, sails tattered, stormy winds".split(", ") # what you don't want to see
|
109 |
seed = random_seed() # replace with the desired seed if needed
|
110 |
width, height = 1280, 768 # width and height of the generated image
|
111 |
-
cfg_scale = 7.5 # classifer free guidance scale, 7 to 11 is usually a good range
|
112 |
-
num_inference_steps = 40 # sampling steps
|
113 |
|
114 |
|
115 |
generator = torch.Generator("cuda").manual_seed(seed)
|
|
|
108 |
negative_prompt = "low-res, blurry, haze, dark clouds looming, choppy waves, engine failing, sails tattered, stormy winds".split(", ") # what you don't want to see
|
109 |
seed = random_seed() # replace with the desired seed if needed
|
110 |
width, height = 1280, 768 # width and height of the generated image
|
111 |
+
cfg_scale = 7.5 # classifer free guidance scale, smaller means more creative, 7 to 11 is usually a good range
|
112 |
+
num_inference_steps = 40 # sampling steps, 30 to 40 is usually good for Euler Ancestral
|
113 |
|
114 |
|
115 |
generator = torch.Generator("cuda").manual_seed(seed)
|