Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
S
Stable Diffusion Webui
管理
动态
成员
代码
仓库
分支
提交
标签
仓库图
比较修订版本
部署
模型注册表
分析
模型实验
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
Hunter0726
Stable Diffusion Webui
提交
c2fdb448
提交
c2fdb448
编辑于
1 year ago
作者:
papuSpartan
浏览文件
操作
下载
补丁
差异文件
fix for img2img
上级
917faa53
No related branches found
分支 包含提交
No related tags found
标签 包含提交
无相关合并请求
变更
1
隐藏空白变更内容
行内
左右并排
显示
1 个更改的文件
modules/processing.py
+3
-2
3 个添加, 2 个删除
modules/processing.py
有
3 个添加
和
2 个删除
modules/processing.py
+
3
−
2
浏览文件 @
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
,
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录