Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
c27c0de0
Commit
c27c0de0
authored
Feb 03, 2023
by
Kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
txt2img Hires Fix
parent
6c6c6636
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
modules/processing.py
modules/processing.py
+1
-0
modules/sd_samplers_kdiffusion.py
modules/sd_samplers_kdiffusion.py
+1
-1
No files found.
modules/processing.py
View file @
c27c0de0
...
@@ -268,6 +268,7 @@ class Processed:
...
@@ -268,6 +268,7 @@ class Processed:
self
.
height
=
p
.
height
self
.
height
=
p
.
height
self
.
sampler_name
=
p
.
sampler_name
self
.
sampler_name
=
p
.
sampler_name
self
.
cfg_scale
=
p
.
cfg_scale
self
.
cfg_scale
=
p
.
cfg_scale
self
.
image_cfg_scale
=
getattr
(
p
,
'image_cfg_scale'
,
None
)
self
.
steps
=
p
.
steps
self
.
steps
=
p
.
steps
self
.
batch_size
=
p
.
batch_size
self
.
batch_size
=
p
.
batch_size
self
.
restore_faces
=
p
.
restore_faces
self
.
restore_faces
=
p
.
restore_faces
...
...
modules/sd_samplers_kdiffusion.py
View file @
c27c0de0
...
@@ -352,7 +352,7 @@ class KDiffusionSampler:
...
@@ -352,7 +352,7 @@ class KDiffusionSampler:
'cond_scale'
:
p
.
cfg_scale
,
'cond_scale'
:
p
.
cfg_scale
,
}
}
if
p
.
image_cfg_scale
:
if
hasattr
(
p
,
'image_cfg_scale'
)
:
extra_args
[
'image_cfg_scale'
]
=
p
.
image_cfg_scale
extra_args
[
'image_cfg_scale'
]
=
p
.
image_cfg_scale
samples
=
self
.
launch_sampling
(
t_enc
+
1
,
lambda
:
self
.
func
(
self
.
model_wrap_cfg
,
xi
,
extra_args
=
extra_args
,
disable
=
False
,
callback
=
self
.
callback_state
,
**
extra_params_kwargs
))
samples
=
self
.
launch_sampling
(
t_enc
+
1
,
lambda
:
self
.
func
(
self
.
model_wrap_cfg
,
xi
,
extra_args
=
extra_args
,
disable
=
False
,
callback
=
self
.
callback_state
,
**
extra_params_kwargs
))
...
...
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