方法1:定制路径
--checkpoint-dir path\to\dir Add a path to a checkpoint directory.
--config-dir path\to\dir Add a path to a model config directory.
--clip-dir path\to\dir Add a path to a clip directory.
--clip-vision-dir path\to\dir Add a path to a clip vision directory.
--controlnet-dir path\to\dir Add a path to a controlnet or T2I checkpoint directory.
--embedding-dir path\to\dir Add a path to an embedding directory.
--lora-dir path\to\dir Add a path to a lora model directory.
--style-model-dir path\to\dir Add a path to a style model directory.
--upscale-model-dir path\to\dir Add a path to an upscale model directory.
--vae-dir path\to\dir Add a path to a vae directory.
--output-directory directory/path to set the output path.
例如修改模型的文件夹:
--checkpoint-dir E:\sd\ckpt
修改输出目录:
python3 main.py --output-directory /Volumes/1TSSD/sdwebui1.2.1/outputs
引用自:https://github.com/comfyanonymous/ComfyUI/pull/66
方法2:如果你已经安装过auto1111,可以直接指向auto1111的模型目录
https://github.com/comfyanonymous/ComfyUI/blob/master/extra_model_paths.yaml.example
Update the ui, copy the new ComfyUI/extra_model_paths.yaml.example to ComfyUI/extra_model_paths.yaml and edit it to set the path to your a1111 ui.
更新comfyui,找到comfyui目录中ComfyUI/extra_model_paths.yaml.example 文件,将文件名改为“extra_model_paths.yaml”