&bsp;README&bsp; | &bsp;GitHub&bsp; | &bsp;Models&bsp;
本模型基于多阶段文本到图像生成扩散模型, 输入描述文本,返回符合文本描述的2D图像,仅支持英语输入 介绍该模型的基础信息、模型特征、模型架构等。 本模型适用范围较广,能基于英文文本描述进行推理,生成图像。 在ModelScope框架上,提供低分辨图片,即可以通过简单的Pipelie调用来使用图像超分辨率模型。 介绍模型适用的场景,以及在哪些场景可能存在局限性,以及模型在构造训练过程中, 本身可能带有的,由于训练数据以及训练方法等因素引入的偏向性。 Regularizatio images are geerated by prompt After traiig, geerated images with prompt Geerated images with prompt Geerated images with prompt Some ot-so-perfect but still iterestig results: Geerated images with prompt Geerated images with prompt 集成中
Dreambooth o Stable Diffusio 介绍
模型描述
期望模型使用方式以及适用范围
如何使用
代码范例
!git cloe https://www.modelscope.c/damo/cv_dreambooth_stable_diffusio_text-to-image-sythesis.git
%cd cv_dreambooth_stable_diffusio_text-to-image-sythesis
!pip istall -r requiremets.txt
import ms_wrapper
from modelscope.pipelies import pipelie
prompt = 'a photo of a bag'
params = {
"ddim_steps": 50,
"ddim_eta": 0.0,
"_iter": 1,
"plms": False,
"H": 512,
"W": 512,
"C": 4,
"f": 8,
"_samples": 1,
"_rows": 0,
"scale": 10.0,
"from_file": False,
"seed": 42,
"precisio": 'autocast',
"embeddig_path": Noe,
"skip_grid": False,
"skip_save": False,
"fixed_code": False,
"outdir": 'outputs/txt2img-samples'
}
iferece = pipelie('my_db_task', model='.')
output = iferece(prompt, **params)
prit(output)
模型局限性以及可能的偏差
数据评估及结果
photo of a cotaier. Regularizatio images are show here:photo of a sks cotaier:photo of a sks cotaier o the beach:photo of a sks cotaier o the moo:photo of a red sks cotaier:a dog o top of sks cotaier:相关论文以及引用信息
@article{ruiz2022dreambooth,
title={Dreambooth: Fie tuig text-to-image diffusio models for subject-drive geeratio},
author={Ruiz, Nataiel ad Li, Yuazhe ad Jampai, Varu ad Pritch, Yael ad Rubistei, Michael ad Aberma, Kfir},
joural={arXiv preprit arXiv:2208.12242},
year={2022}
}
点击空白处退出提示







评论