|
25 | 25 | args.zoom_prompt_reset_interval = 1 # the prompt is switched to the next prompt in the list every n samples
|
26 | 26 | #args.zoom_prompt_schedule_order = "linear" # rotate through the prompt list in order
|
27 | 27 | args.zoom_prompt_schedule_order = "random" # uncomment this line to use prompts in random order
|
28 |
| -args.zoom_interactive_cherrypicker = True # setting this to True will prompt you to interactively accept or reject each keyframe / sample |
| 28 | +args.zoom_interactive_cherrypicker = False # setting this to True will prompt you to interactively accept or reject each keyframe / sample |
29 | 29 |
|
30 | 30 | args.num_samples = 1
|
31 | 31 | args.zoom_num_frames = 1000 # number of discrete zoom images to sample
|
|
41 | 41 | args.init_image = "" # starting (or rather, ending image file, relative to inputs path). if blank start with a generated image
|
42 | 42 | args.output_path = "zoom_maker" # output path, relative to outputs
|
43 | 43 | args.output_name = "zoom_maker"
|
44 |
| -args.steps = 12 #100 |
45 |
| -args.cfg_scale = 14. #10. |
| 44 | +args.steps = 50 # 100 |
| 45 | +args.cfg_scale = 14. # this scale is for SD1.5, use a lower scale for SD2.0 |
46 | 46 | args.guidance_strength = 0. #0.7 #0.4 # try lowering clip guidance_strength if you have problems with zooms "exploding"
|
| 47 | + |
47 | 48 | #args.negative_prompt = "frame, comic book, collage, cropped, oversaturated, signed, greyscale, monotone, vignette, title, text, logo, watermark"
|
48 | 49 | #args.negative_prompt = "watermark, title, label, collage, cropped, highly saturated colors, monotone, vignette"
|
49 | 50 | #args.negative_prompt = "art by lisa frank, blender, cropped, lowres, poorly drawn face, out of frame, poorly drawn hands, blurry, bad art, text, watermark, disfigured, deformed, title, label, collage, vignette"
|
50 | 51 | args.negative_prompt = "frame, blender, cropped, lowres, poorly drawn face, poorly drawn hands, blurry, bad art, text, watermark, disfigured, deformed, title, label, collage, vignette"
|
51 | 52 |
|
52 | 53 | args.model_name = "stable-diffusion-v2-standard"
|
53 |
| -args.cfg_scale = 7.#4. #4.85 #4.35 |
| 54 | +args.cfg_scale = 6.5#4. #4.85 #4.35 |
54 | 55 |
|
55 | 56 | #args.sampler = "k_euler_ancestral"
|
56 | 57 | #args.sampler = "k_dpm_2_ancestral"
|
57 |
| -args.sampler = "dpmspp_2" |
| 58 | +#args.sampler = "dpmspp_2" |
58 | 59 | #args.sampler = "dpmspp_3"
|
59 | 60 | #args.sampler = "dpmspp_2s_ancestral"
|
60 |
| -#args.sampler = "dpmspp_sde" |
| 61 | +args.sampler = "dpmspp_sde" |
61 | 62 |
|
62 | 63 | # *****************************************************************
|
63 | 64 |
|
|
104 | 105 | if args.zoom_interactive_cherrypicker:
|
105 | 106 | input_key = 32
|
106 | 107 | while chr(input_key).lower() not in ("y","n"):
|
107 |
| - cv2.imshow("Accept sample? (y/n):", args.output_sample) |
| 108 | + cv2.imshow("Accept or reject? (y/n):", args.output_sample) |
108 | 109 | input_key = cv2.waitKey(0)
|
109 | 110 | cv2.destroyAllWindows()
|
110 | 111 | if input_key == -1: break # window closed
|
|
0 commit comments