Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1. 创建环境
|
| 2 |
+
|
| 3 |
+
```
|
| 4 |
+
git clone https://huggingface.co/yujuanqin/test_sd
|
| 5 |
+
conda create -n test-sd python=3.10
|
| 6 |
+
conda activate test-sd
|
| 7 |
+
pip install -r requirements.txt
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
2. 下载模型
|
| 11 |
+
```
|
| 12 |
+
python download_models.py
|
| 13 |
+
```
|
| 14 |
+
4. 执行测试脚本
|
| 15 |
+
```
|
| 16 |
+
python test_diffusers.py
|
| 17 |
+
```
|
| 18 |
+
6. 收集测试结果
|
| 19 |
+
|
| 20 |
+
测试结果在 result_diffuser.csv,生成的图片保存在当前目录下的base_model_images文件夹。
|