--- frameworks: - Pytorch license: apache-2.0 tasks: - efficient-diffusion-tuning ---

yw_tuner_test1



## 模型介绍 yw_tuner_test1 ## 模型参数
基础模型 微调类型 训练参数
批次大小 轮数 学习率 分辨率
SD2.1 SCE 1 2 0.0001 [256, 256]
数据类型 数据空间 数据名称 数据子集
数据集zip https://www.modelscope.cn/api/v1/models/iic/scepter/repo?Revision=master&FilePath=datasets/3D_example_csv.zip
## 模型效果 输入 "a boy wearing a jacket",可能会得到如下图像: ![image](./image.jpg) ## 模型使用 ### 命令行运行 * 使用scepter的sdk进行运行,注意需要按照模型参数中基模型的不同使用不同的配置文件,其对应关系如下
Base Model LORA SCE TEXT_LORA TEXT_SCE
SD1.5 lora_cfg sce_cfg text_lora_cfg text_sce_cfg
SD2.1 lora_cfg sce_cfg text_lora_cfg text_sce_cfg
SDXL lora_cfg sce_cfg text_lora_cfg text_sce_cfg
* 从源码运行 ```shell git clone https://github.com/modelscope/scepter.git cd scepter pip install -r requirements/recommended.txt PYTHONPATH=. python scepter/tools/run_inference.py --pretrained_model {this model folder} --cfg {lora_cfg} or {sce_cfg} or {text_lora_cfg} or {text_sce_cfg} --prompt 'a boy wearing a jacket' --save_folder 'inference' ``` * 安装scepter后运行(推荐) ```shell pip install scepter python -m scepter/tools/run_inference.py --pretrained_model {this model folder} --cfg {lora_cfg} or {sce_cfg} or {text_lora_cfg} or {text_sce_cfg} --prompt 'a boy wearing a jacket' --save_folder 'inference' ``` ### 使用Scepter Studio运行 ```shell pip install scepter 启动scepter studio python -m scepter.tools.webui ``` * 参考以下指南使用模型 ## 模型引用 如果你想使用该模型应用于自己的场景,请按照如下方式引用该模型。 ```bibtex @misc{yw_tuner_test1, title = {yw_tuner_test1, https://www.modelscope.cn/models/afcedf/yw_tuner_test1}, author = {afcedf}, year = {2024} } ``` 该模型是基于[Scepter Studio](https://github.com/modelscope/scepter)训练得到;[scepter](https://github.com/modelscope/scepter) 是由阿里巴巴通义万相团队开发的算法框架和工具箱,提供图像生成、编辑、微调、数据处理等一系列工具和模型。如果您觉得我们的工作有益于您的工作, 请按照如下方式引用。 ```bibtex @misc{scepter, title = {SCEPTER, https://github.com/modelscope/scepter}, author = {SCEPTER}, year = {2023} } ```