* 安裝前需要先確認python和cuda版本 * 確認完cuda版本要去pytorch,並且根據自己對應的進行下載 > 參考網址:https://pytorch.org/get-started/locally/ ### ComfyUI安裝過程 1. 點選連結下載,下滑並點選[Direct link to download] https://github.com/comfyanonymous/ComfyUI#installingng  2. 下載完成後解壓縮該檔案並移到你想放置的路徑 3. 命令提示字元開啟ComfyUI_windows_portable\ComfyUI(該路徑),並執行以下指令 ``` bash pip install -r requirements.txt ``` 4. 點擊ComfyUI_windows_portable\[run_nvidia_gpu.bat],開啟ComfyUI  5. 終端機視窗會跳出,稍等一下就會自動開啟ComfyUI頁面,網址為http://127.0.0.1:8188  --- ### 安裝ComfyUI-Manager 1. 到該路徑ComfyUI_windows_portable\ComfyUII\custom_nodes 2. 命令提示字元開啟,並執行以下指令 ``` bash git clone https://github.com/ltdrdata/ComfyUI-Manager.git ``` 3. 重新開啟ComfyUI  **在功能列表會看到Manager,若要安裝其他的custom nodes,點選manager裡面就可以安裝了**  * Install Custom Nodes >可以搜尋所有可安裝的nodes和查看你已安裝的nodes。 * Install Missing Custom Nodes >當導入別人的workflow時,模組出現紅色邊框錯誤,會自動偵測缺少哪些nodes,透過此方式能夠直接安裝缺少的nodes。  * Install Models >內部裡有各種模型,缺少或需要可透過此搜尋安裝。 **當安裝後都需要按下Restart重新啟動ComfyUI。** **紅色邊框消失後代表目前節點所需的擴充功能已經就緒。** --- ### ComfyUI模型 1. 到該路徑ComfyUI_windows_portable\ComfyUII\models * checkpoints/loras/controlnet/vae根據對應的模型資料夾放入 **該模型都需要透過手動下載並放到指定資料夾。** --- ### 更新ComfyUI 1. 點擊ComfyUI_windows_portable\update\[update_comfyui]  2. 執行完成代表更新完畢 --- ### ComfyUI OOTDiffusion工作流 https://github.com/AuroBit/ComfyUI-OOTDiffusion * 根據網址中的[Instruction指南]和[Windows指南]進行指令  --- ### 最終結果 * 可以直接將下載的json檔案拖移到ComfyUI中 (工作流展示)  **確認沒有紅色邊框且模型都安裝完成就可以按下旁邊Queue Prompt執行。**
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up