breakdomain-anime

我要开发同款
匿名用户2024年07月31日
26阅读
所属分类aipytorch、text-to-image、stable-diffusion
开源地址https://modelscope.cn/models/mushenL/breakdomain-anime
授权协议creativeml-openrail-m

作品详情

动漫人像Diffusion

Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input. For more information about how Stable Diffusion functions, please have a look at ?'s Stable Diffusion blog.

The Stable-Diffusion-v1-5 checkpoint was initialized with the weights of the Stable-Diffusion-v1-2 checkpoint and subsequently fine-tuned on 595k steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10% dropping of the text-conditioning to improve classifier-free guidance sampling.

You can use this both with the ?Diffusers library and the RunwayML GitHub repository.

如何使用

import cv2
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks

pipe = pipeline(Tasks.text_to_image_synthesis, model='mushenL/breakdomain-anime', model_revision='v1.0.0')
output = pipe({'text': 'girl, Design a sorcerer who can communicate with animals, showcasing their magical talents and deep connection to the natural world.'})
cv2.imwrite('result.png', output['output_imgs'][0])

Diffusers

该模型可以像任何其他Stable Diffusion模型一样使用。 This model can be used just like any other Stable Diffusion model.

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论