修改webui-user.bat文件

set A1111_HOME=F:/AI/stable_diffusion_webui_aki
set VENV_DIR=%A1111_HOME%/venv
set COMMANDLINE_ARGS=%COMMANDLINE_ARGS% ^
--ckpt-dir %A1111_HOME%/models/Stable-diffusion ^
--hypernetwork-dir %A1111_HOME%/models/hypernetworks ^
--embeddings-dir %A1111_HOME%/embeddings ^
--lora-dir %A1111_HOME%/models/Lora ^
--controlnet-dir %A1111_HOME%/extensions/sd-webui-controlnet/models ^
--gfpgan-models-path %A1111_HOME%/models/GFPGAN ^
--esrgan-models-path %A1111_HOME%/models/ESRGAN ^
--controlnet-preprocessor-models-dir %A1111_HOME%/extensions/sd-webui-controlnet/annotator/downloads ^
--vae-dir %A1111_HOME%/models/VAE
每个路径后的^前必须加空格,例如downloads ^
usage: launch.py [-h] [--disable-header-check [ORIGIN]] [--web-upload-size WEB_UPLOAD_SIZE]
[--external-working-path PATH [PATH ...]] [--output-path OUTPUT_PATH] [--temp-path TEMP_PATH]
[--cache-path CACHE_PATH] [--in-browser] [--disable-in-browser] [--gpu-device-id DEVICE_ID]
[--disable-attention-upcast] [--all-in-fp32 | --all-in-fp16]
[--unet-in-bf16 | --unet-in-fp16 | --unet-in-fp8-e4m3fn | --unet-in-fp8-e5m2]
[--vae-in-fp16 | --vae-in-fp32 | --vae-in-bf16] [--vae-in-cpu]
[--clip-in-fp8-e4m3fn | --clip-in-fp8-e5m2 | --clip-in-fp16 | --clip-in-fp32]
[--directml [DIRECTML_DEVICE]] [--disable-ipex-hijack] [--preview-option [none,auto,fast,taesd]]
[--attention-split | --attention-quad | --attention-pytorch] [--disable-xformers]
[--always-gpu | --always-high-vram | --always-normal-vram | --always-low-vram | --always-no-vram | --always-cpu]
[--always-offload-from-vram] [--pytorch-deterministic] [--disable-server-log] [--debug-mode]
[--is-windows-embedded-python] [--disable-server-info] [--multi-user] [--cuda-malloc] [--cuda-stream]
[--pin-shared-memory] [--update-all-extensions] [--skip-python-version-check]
[--skip-torch-cuda-test] [--reinstall-xformers] [--reinstall-torch] [--update-check] [--test-server]
[--log-startup] [--skip-prepare-environment] [--skip-install] [--dump-sysinfo] [--loglevel LOGLEVEL]
[--do-not-download-clip] [--data-dir DATA_DIR] [--config CONFIG] [--ckpt CKPT] [--ckpt-dir CKPT_DIR]
[--vae-dir VAE_DIR] [--gfpgan-dir GFPGAN_DIR] [--gfpgan-model GFPGAN_MODEL] [--no-half]
[--no-half-vae] [--no-progressbar-hiding] [--max-batch-count MAX_BATCH_COUNT]
[--embeddings-dir EMBEDDINGS_DIR] [--textual-inversion-templates-dir TEXTUAL_INVERSION_TEMPLATES_DIR]
[--hypernetwork-dir HYPERNETWORK_DIR] [--localizations-dir LOCALIZATIONS_DIR] [--allow-code]
[--medvram] [--medvram-sdxl] [--lowvram] [--lowram] [--always-batch-cond-uncond] [--unload-gfpgan]
[--precision {full,autocast}] [--upcast-sampling] [--share] [--ngrok NGROK]
[--ngrok-region NGROK_REGION] [--ngrok-options NGROK_OPTIONS] [--enable-insecure-extension-access]
[--codeformer-models-path CODEFORMER_MODELS_PATH] [--gfpgan-models-path GFPGAN_MODELS_PATH]
[--esrgan-models-path ESRGAN_MODELS_PATH] [--bsrgan-models-path BSRGAN_MODELS_PATH]
[--realesrgan-models-path REALESRGAN_MODELS_PATH] [--clip-models-path CLIP_MODELS_PATH] [--xformers]
[--force-enable-xformers] [--xformers-flash-attention] [--deepdanbooru] [--opt-split-attention]
[--opt-sub-quad-attention] [--sub-quad-q-chunk-size SUB_QUAD_Q_CHUNK_SIZE]
[--sub-quad-kv-chunk-size SUB_QUAD_KV_CHUNK_SIZE]
[--sub-quad-chunk-threshold SUB_QUAD_CHUNK_THRESHOLD] [--opt-split-attention-invokeai]
[--opt-split-attention-v1] [--opt-sdp-attention] [--opt-sdp-no-mem-attention]
[--disable-opt-split-attention] [--disable-nan-check] [--use-cpu USE_CPU [USE_CPU ...]] [--use-ipex]
[--disable-model-loading-ram-optimization] [--listen] [--port PORT] [--show-negative-prompt]
[--ui-config-file UI_CONFIG_FILE] [--hide-ui-dir-config] [--freeze-settings]
[--freeze-settings-in-sections FREEZE_SETTINGS_IN_SECTIONS]
[--freeze-specific-settings FREEZE_SPECIFIC_SETTINGS] [--ui-settings-file UI_SETTINGS_FILE]
[--gradio-debug] [--gradio-auth GRADIO_AUTH] [--gradio-auth-path GRADIO_AUTH_PATH]
[--gradio-img2img-tool GRADIO_IMG2IMG_TOOL] [--gradio-inpaint-tool GRADIO_INPAINT_TOOL]
[--gradio-allowed-path GRADIO_ALLOWED_PATH] [--opt-channelslast] [--styles-file STYLES_FILE]
[--autolaunch] [--theme THEME] [--use-textbox-seed] [--disable-console-progressbars]
[--enable-console-prompts] [--vae-path VAE_PATH] [--disable-safe-unpickle] [--api]
[--api-auth API_AUTH] [--api-log] [--nowebui] [--ui-debug-mode] [--device-id DEVICE_ID]
[--administrator] [--cors-allow-origins CORS_ALLOW_ORIGINS]
[--cors-allow-origins-regex CORS_ALLOW_ORIGINS_REGEX] [--tls-keyfile TLS_KEYFILE]
[--tls-certfile TLS_CERTFILE] [--disable-tls-verify] [--server-name SERVER_NAME] [--gradio-queue]
[--no-gradio-queue] [--skip-version-check] [--no-hashing] [--no-download-sd-model]
[--subpath SUBPATH] [--add-stop-route] [--api-server-stop] [--timeout-keep-alive TIMEOUT_KEEP_ALIVE]
[--disable-all-extensions] [--disable-extra-extensions] [--skip-load-model-at-start]
[--forge-ref-a1111-home FORGE_REF_A1111_HOME] [--controlnet-dir CONTROLNET_DIR]
[--controlnet-preprocessor-models-dir CONTROLNET_PREPROCESSOR_MODELS_DIR]
[--ldsr-models-path LDSR_MODELS_PATH] [--lora-dir LORA_DIR]
[--lyco-dir-backcompat LYCO_DIR_BACKCOMPAT] [--scunet-models-path SCUNET_MODELS_PATH]
[--swinir-models-path SWINIR_MODELS_PATH] [--controlnet-loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
[--controlnet-tracemalloc] [--show-controlnet-example]
launch.py: error: unrecognized arguments: F:/AI/stable_diffusion_webui_aki/extensions/sd-webui-controlnet/models--gfpgan-models-path F:/AI/stable_diffusion_webui_aki/models/GFPGAN--esrgan-models-path F:/AI/stable_diffusion_webui_aki/models/ESRGAN--controlnet-preprocessor-models-dir F:/AI/stable_diffusion_webui_aki/extensions/sd-webui-controlnet/annotator/downloads--vae-dir F:/AI/stable_diffusion_webui_aki/models/VAE
请按任意键继续. . .
路径与^符号之间加空格