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
c2fdb448
Commit
c2fdb448
authored
May 13, 2023
by
papuSpartan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for img2img
parent
917faa53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/processing.py
modules/processing.py
+3
-2
No files found.
modules/processing.py
View file @
c2fdb448
...
...
@@ -34,7 +34,7 @@ import tomesd
# add a logger for the processing module
logger
=
logging
.
getLogger
(
__name__
)
# manually set output level here since there is no option to do so yet through launch options
logging
.
basicConfig
(
level
=
logging
.
DEBUG
,
format
=
'
%(asctime)
s
%(levelname)
s
%(name)
s
%(message)
s'
)
#
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(levelname)s %(name)s %(message)s')
# some of those options should not be changed at all because they would break the model, so I removed them from options.
...
...
@@ -478,6 +478,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter
index
=
position_in_batch
+
iteration
*
p
.
batch_size
clip_skip
=
getattr
(
p
,
'clip_skip'
,
opts
.
CLIP_stop_at_last_layers
)
enable_hr
=
getattr
(
p
,
'enable_hr'
,
False
)
generation_params
=
{
"Steps"
:
p
.
steps
,
...
...
@@ -497,7 +498,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter
"Clip skip"
:
None
if
clip_skip
<=
1
else
clip_skip
,
"ENSD"
:
None
if
opts
.
eta_noise_seed_delta
==
0
else
opts
.
eta_noise_seed_delta
,
"Token merging ratio"
:
None
if
opts
.
token_merging_ratio
==
0
else
opts
.
token_merging_ratio
,
"Token merging ratio hr"
:
None
if
not
p
.
enable_hr
or
opts
.
token_merging_ratio_hr
==
0
else
opts
.
token_merging_ratio_hr
,
"Token merging ratio hr"
:
None
if
not
enable_hr
or
opts
.
token_merging_ratio_hr
==
0
else
opts
.
token_merging_ratio_hr
,
"Init image hash"
:
getattr
(
p
,
'init_img_hash'
,
None
),
"RNG"
:
opts
.
randn_source
if
opts
.
randn_source
!=
"GPU"
else
None
,
"NGMS"
:
None
if
p
.
s_min_uncond
==
0
else
p
.
s_min_uncond
,
...
...
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