Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
84ddd441
Commit
84ddd441
authored
Oct 09, 2022
by
Fampai
Committed by
AUTOMATIC1111
Oct 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clip skip variable name change breaks x/y plot script. This fixes that
parent
1824e9ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
xy_grid.py
scripts/xy_grid.py
+3
-3
No files found.
scripts/xy_grid.py
View file @
84ddd441
...
@@ -84,7 +84,7 @@ def apply_hypernetwork(p, x, xs):
...
@@ -84,7 +84,7 @@ def apply_hypernetwork(p, x, xs):
def
apply_clip_skip
(
p
,
x
,
xs
):
def
apply_clip_skip
(
p
,
x
,
xs
):
opts
.
data
[
"CLIP_
ignore
_last_layers"
]
=
x
opts
.
data
[
"CLIP_
stop_at
_last_layers"
]
=
x
def
format_value_add_label
(
p
,
opt
,
x
):
def
format_value_add_label
(
p
,
opt
,
x
):
...
@@ -206,7 +206,7 @@ class Script(scripts.Script):
...
@@ -206,7 +206,7 @@ class Script(scripts.Script):
modules
.
processing
.
fix_seed
(
p
)
modules
.
processing
.
fix_seed
(
p
)
p
.
batch_size
=
1
p
.
batch_size
=
1
CLIP_
ignore_last_layers
=
opts
.
CLIP_ignore
_last_layers
CLIP_
stop_at_last_layers
=
opts
.
CLIP_stop_at
_last_layers
def
process_axis
(
opt
,
vals
):
def
process_axis
(
opt
,
vals
):
if
opt
.
label
==
'Nothing'
:
if
opt
.
label
==
'Nothing'
:
...
@@ -327,6 +327,6 @@ class Script(scripts.Script):
...
@@ -327,6 +327,6 @@ class Script(scripts.Script):
hypernetwork
.
load_hypernetwork
(
opts
.
sd_hypernetwork
)
hypernetwork
.
load_hypernetwork
(
opts
.
sd_hypernetwork
)
opts
.
data
[
"CLIP_
ignore_last_layers"
]
=
CLIP_ignore
_last_layers
opts
.
data
[
"CLIP_
stop_at_last_layers"
]
=
CLIP_stop_at
_last_layers
return
processed
return
processed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment