add README
This commit is contained in:
@@ -10,12 +10,19 @@ A ComfyUI custom node that simply integrates the OOTDiffusion functionality.
|
||||
|
||||
根据 https://git-lfs.com 安装 git lfs:
|
||||
|
||||
Linux:
|
||||
|
||||
```txt
|
||||
sudo apt install git-lfs
|
||||
```
|
||||
|
||||
git lfs 初始化:
|
||||
|
||||
```txt
|
||||
git lfs install
|
||||
```
|
||||
|
||||
拉取 Huggingface 库至 `models/OOTDiffusion` 目录:
|
||||
拉取 Huggingface 库至 ComfyUI 根目录下的 `models/OOTDiffusion` 目录:
|
||||
|
||||
```txt
|
||||
git clone https://huggingface.co/levihsu/OOTDiffusion models/OOTDiffusion
|
||||
@@ -29,13 +36,15 @@ git lfs fetch
|
||||
git checkout main
|
||||
```
|
||||
|
||||
建立环境并下载依赖:
|
||||
创建环境并下载依赖:
|
||||
|
||||
```txt
|
||||
conda create -n ootd
|
||||
conda activate ootd
|
||||
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
|
||||
conda install cudatoolkit-dev -c conda-forge
|
||||
|
||||
pip install -r custom_nodes/ComfyUI-OOTDiffusion/requirements.txt
|
||||
```
|
||||
|
||||
安装 custom_nodes/ComfyUI-OOTDiffusion 目录下的 requirements.txt。
|
||||
|
||||
Reference in New Issue
Block a user