Downloads · 30 days
0
yujuanqin/test_sd
test_sd is a machine learning model from yujuanqin. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
在 testconfig.py 文件中可以根据需要修改生成图片路径,测试模型配置,prompts。
Downloads · 30 days
0
Access
Public
Updated Jun 17, 2024
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py22.5 KB · 91%
From the Hugging Face model README
git clone https://huggingface.co/yujuanqin/test_sd
conda create -n test-sd python=3.10
conda activate test-sd
pip install -r requirements.txt
python download_models.py
在 test_config.py 文件中可以根据需要修改生成图片路径,测试模型配置,prompts。
python test_diffusers.py
测试结果在 result_diffuser.csv,生成的图片保存在当前目录下的base_model_images文件夹。