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

clay_style_edit



## Model Introduction Transfer images into clay style ## Model Parameters
Base Model Tuner Type Training Parameters
Batch Size Epochs Learning Rate Resolution
EDIT LORA 1 50 0.0001 [512, 512]
Data Type Data Space Data Name Data Subset
Image Edit Generation clay-v1-20240527_16_06_41 default
## Model Performance Given the input "Convert this image into clay style," the following image may be generated: ![image](./image.jpg) ## 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 ```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 'Convert this image into clay style' --save_folder 'inference' ``` * Running after Installing Scepter (Recommended) ```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 'Convert this image into clay style' --save_folder 'inference' ``` ### Running with Scepter Studio ```shell 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. ```bibtex @misc{clay_style_edit, title = {clay_style_edit, {MODEL_URL}}, author = {{USER_NAME}}, year = {2024} } ``` This model was trained using [Scepter Studio](https://github.com/modelscope/scepter); [Scepter](https://github.com/modelscope/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. ```bibtex @misc{scepter, title = {SCEPTER, https://github.com/modelscope/scepter}, author = {SCEPTER}, year = {2023} } ```