filmov
tv
How to use XYZ plots Script to Optimize Parameters and Get the Most Out of your Model!
Показать описание
This video tutorial walks you through how to use the XYZ plot Script in Automatic 1111 and provides a simple workflow that can help you find the optimal values of Sampling Steps, CFG scale, and Sampling Methods for the model you are using. I would recommend to do this when you first start working with a new model or checkpoint.
Chapters:
00:00 Intro
00:10 Ep2 - How to get the most out of your models with XYZ plots
01:53 How does Stable Diffusion generate images
02:15 Sampling Steps explained
03:00 Sampling Method explained
03:40 CFG Scale explained
04:35 TLDR on the Workflow
05:07 Walkthrough example with the MajicMIX model
05:52 Be sure to use Fixed Seed
06:05 XYZ Plot Script
06:23 XYZ Plot Syntax for Ranges
07:12 Example of a XY Plot (Steps vs. CFG)
08:12 Create 2nd Plot of Steps vs. CFG with smaller intervals
09:37 Optimal range found for Sampling Steps and CFG scale
10:12 Generate a Batch of test images
10:32 Sampling Steps vs. CFG vs. Sampling Methods
11:43 Narrow down the list of Sampling Methods
13:37 Karras Noise Schedule explained
14:25 Plot Steps vs. CFG vs. Samplers
15:24 Output of the XYZ plot (Steps vs. CFG vs. Samplers)
16:28 Output grid and heat map
17:38 Good Samplers for this model
18:25 Create 2nd Plot of Steps vs. CFG with the Sampler(s) being picked
19:03 Comparison between MajicMIX and DreamShaper models
20:05 Conclusion / Summarize Workflow
Useful Links:
Link to my spreadsheet for the Heat Maps:
Link to the XYZ plots and output images created for MajicMIX and DreamShaper:
MajicMIX
Dream Shaper
PSA: basically all models nowadays use a '.safetensors' file format, with the exception of some older models or processes using '.ckpt' format.
Be wary of '.ckpt' files that you download online. It may contain malicious scripts inside.
Do NOT open the '.ckpt' file unless you know what's inside.
***If you enjoy my videos, consider supporting me on Ko-fi***
Chapters:
00:00 Intro
00:10 Ep2 - How to get the most out of your models with XYZ plots
01:53 How does Stable Diffusion generate images
02:15 Sampling Steps explained
03:00 Sampling Method explained
03:40 CFG Scale explained
04:35 TLDR on the Workflow
05:07 Walkthrough example with the MajicMIX model
05:52 Be sure to use Fixed Seed
06:05 XYZ Plot Script
06:23 XYZ Plot Syntax for Ranges
07:12 Example of a XY Plot (Steps vs. CFG)
08:12 Create 2nd Plot of Steps vs. CFG with smaller intervals
09:37 Optimal range found for Sampling Steps and CFG scale
10:12 Generate a Batch of test images
10:32 Sampling Steps vs. CFG vs. Sampling Methods
11:43 Narrow down the list of Sampling Methods
13:37 Karras Noise Schedule explained
14:25 Plot Steps vs. CFG vs. Samplers
15:24 Output of the XYZ plot (Steps vs. CFG vs. Samplers)
16:28 Output grid and heat map
17:38 Good Samplers for this model
18:25 Create 2nd Plot of Steps vs. CFG with the Sampler(s) being picked
19:03 Comparison between MajicMIX and DreamShaper models
20:05 Conclusion / Summarize Workflow
Useful Links:
Link to my spreadsheet for the Heat Maps:
Link to the XYZ plots and output images created for MajicMIX and DreamShaper:
MajicMIX
Dream Shaper
PSA: basically all models nowadays use a '.safetensors' file format, with the exception of some older models or processes using '.ckpt' format.
Be wary of '.ckpt' files that you download online. It may contain malicious scripts inside.
Do NOT open the '.ckpt' file unless you know what's inside.
***If you enjoy my videos, consider supporting me on Ko-fi***
Комментарии