代码拉取完成,页面将自动刷新
def preload(parser):
parser.add_argument(
"--controlnet-dir",
type=str,
help="Path to directory with ControlNet models",
default=None,
)
parser.add_argument(
"--controlnet-annotator-models-path",
type=str,
help="Path to directory with annotator model directories",
default=None,
)
parser.add_argument(
"--no-half-controlnet",
action="store_true",
help="do not switch the ControlNet models to 16-bit floats (only needed without --no-half)",
default=None,
)
# Setting default max_size=16 as each cache entry contains image as both key
# and value (Very costly).
parser.add_argument(
"--controlnet-preprocessor-cache-size",
type=int,
help="Cache size for controlnet preprocessor results",
default=16,
)
parser.add_argument(
"--controlnet-loglevel",
default="INFO",
choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"],
help="Set the log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)",
)
parser.add_argument(
"--controlnet-tracemalloc",
action="store_true",
help="Enable memory tracing.",
default=None,
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。