diff options
author | Fampai <unknown> | 2022-10-08 21:28:42 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-09 19:31:23 +0000 |
commit | ec2bd9be75865c9f3a8c898163ab381688c03b6e (patch) | |
tree | 84d6dc8680ddcc2da68f23478fbd3e422effa3d7 /modules/processing.py | |
parent | a14f7bf113a2af9e06a1c4d06c2efa244f9c5730 (diff) | |
download | stable-diffusion-webui-gfx803-ec2bd9be75865c9f3a8c898163ab381688c03b6e.tar.gz stable-diffusion-webui-gfx803-ec2bd9be75865c9f3a8c898163ab381688c03b6e.tar.bz2 stable-diffusion-webui-gfx803-ec2bd9be75865c9f3a8c898163ab381688c03b6e.zip |
Fix issues with CLIP ignore option name change
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/processing.py b/modules/processing.py index 04aed989..92a105a2 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -129,7 +129,7 @@ class Processed: self.index_of_first_image = index_of_first_image
self.styles = p.styles
self.job_timestamp = state.job_timestamp
- self.clip_skip = opts.CLIP_ignore_last_layers
+ self.clip_skip = opts.CLIP_stop_at_last_layers
self.eta = p.eta
self.ddim_discretize = p.ddim_discretize
@@ -274,7 +274,7 @@ def fix_seed(p): def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments, iteration=0, position_in_batch=0):
index = position_in_batch + iteration * p.batch_size
- clip_skip = getattr(p, 'clip_skip', opts.CLIP_ignore_last_layers)
+ clip_skip = getattr(p, 'clip_skip', opts.CLIP_stop_at_last_layers)
generation_params = {
"Steps": p.steps,
|