Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## 创建环境
|
| 2 |
+
```
|
| 3 |
+
git clone https://huggingface.co/yujuanqin/test_mlx
|
| 4 |
+
cd test_mlx
|
| 5 |
+
git submodule update # 需要huggingface mvp1024 权限
|
| 6 |
+
conda create test_mlx python=3.10
|
| 7 |
+
conda activate test_mlx
|
| 8 |
+
pip install -r mlx-app-pack/requirements.txt
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
## 下载模型
|
| 12 |
+
TODO
|
| 13 |
+
|
| 14 |
+
## 运行测试脚本
|
| 15 |
+
```
|
| 16 |
+
python test_mlx.py
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
## 收集测试结果
|
| 20 |
+
测试结果在 result_mlx.csv,生成的图片保存在当前目录下的base_model_images文件夹。
|