Merge branch 'main' of hf.co:yujuanqin/test_sd
Browse files
README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
|
| 3 |
```
|
| 4 |
git clone https://huggingface.co/yujuanqin/test_sd
|
|
@@ -7,14 +7,17 @@ conda activate test-sd
|
|
| 7 |
pip install -r requirements.txt
|
| 8 |
```
|
| 9 |
|
| 10 |
-
|
| 11 |
```
|
| 12 |
python download_models.py
|
| 13 |
```
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
| 15 |
```
|
| 16 |
python test_diffusers.py
|
| 17 |
```
|
| 18 |
-
|
| 19 |
|
| 20 |
测试结果在 result_diffuser.csv,生成的图片保存在当前目录下的base_model_images文件夹。
|
|
|
|
| 1 |
+
## 创建环境
|
| 2 |
|
| 3 |
```
|
| 4 |
git clone https://huggingface.co/yujuanqin/test_sd
|
|
|
|
| 7 |
pip install -r requirements.txt
|
| 8 |
```
|
| 9 |
|
| 10 |
+
## 下载模型
|
| 11 |
```
|
| 12 |
python download_models.py
|
| 13 |
```
|
| 14 |
+
|
| 15 |
+
## 执行测试脚本
|
| 16 |
+
|
| 17 |
+
在 test_config.py 文件中可以根据需要修改生成图片路径,测试模型配置,prompts。
|
| 18 |
```
|
| 19 |
python test_diffusers.py
|
| 20 |
```
|
| 21 |
+
## 收集测试结果
|
| 22 |
|
| 23 |
测试结果在 result_diffuser.csv,生成的图片保存在当前目录下的base_model_images文件夹。
|