Swift-stable_diffusion-SD1.5-TEXT_LORA-20240521140003247364745-step-last
Model Introduction
Swift-stablediffusion-SD1.5-TEXTLORA-20240521140003247364745-step-last
Model Parameters
Base Model | Tuner Type | Training Parameters | |||
---|---|---|---|---|---|
Batch Size | Epochs | Learning Rate | Resolution | ||
SD1.5 | TEXT_LORA | 4 | 5 | 0.0001 | [512, 512] |
Data Type | Data Space | Data Name | Data Subset |
---|---|---|---|
Dataset zip | /mnt/codespace/yinzi/project/scepter/scepter_gitlab_dev/scepter/cache/scepter_ui/datasets/scepter_txt2img_3DNew-v1-20240521_12_01_38 | default |
Model Performance
Given the input "a boy wearing a jacket," the following image may be generated:
Model Usage
Command Line Execution
- Run using Scepter's SDK, taking care to use different configuration files in accordance with the different base models, as per the corresponding relationships shown below
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 |
- Running from Source Code
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'
- Running after Installing Scepter (Recommended)
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'
Running with Scepter Studio
pip install scepter
# Launch Scepter Studio
python -m scepter.tools.webui
- Refer to the following guides for model usage.
(video url)
Model Reference
If you wish to use this model for your own purposes, please cite it as follows.
@misc{Swift-stable_diffusion-SD1.5-TEXT_LORA-20240521140003247364745-step-last,
title = {Swift-stable_diffusion-SD1.5-TEXT_LORA-20240521140003247364745-step-last, https://www.modelscope.cn/models/jiangzeyinzi/Swift-stable_diffusion-SD1.5-TEXT_LORA-20240521140003247364745-step-last},
author = {jiangzeyinzi},
year = {2024}
}
This model was trained using Scepter Studio; Scepter is an algorithm framework and toolbox developed by the Alibaba Tongyi Wanxiang Team. It provides a suite of tools and models for image generation, editing, fine-tuning, data processing, and more. If you find our work beneficial for your research, please cite as follows.
@misc{scepter,
title = {SCEPTER, https://github.com/modelscope/scepter},
author = {SCEPTER},
year = {2023}
}
评论