---
title: "华为推出业界最大的中文文生图模型PanGu-Draw"
canonical: "https://96p.net/articles/stable-diffusion/41335/%E5%8D%8E%E4%B8%BA%E6%8E%A8%E5%87%BA%E4%B8%9A%E7%95%8C%E6%9C%80%E5%A4%A7%E7%9A%84%E4%B8%AD%E6%96%87%E6%96%87%E7%94%9F%E5%9B%BE%E6%A8%A1%E5%9E%8BPanGu-Draw"
---

# 华为推出业界最大的中文文生图模型PanGu-Draw

> 发布时间：2024-02-22
> 栏目：StableDiffusion

<section style="max-width: 100%; box-sizing: border-box; color: #3e3e3e; font-size: 16px; white-space: normal; background-color: #ffffff; overflow-wrap: break-word !important; margin-bottom: 0px;">
<section style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;">
<section style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;">
<section style="padding-right: 10px; padding-left: 10px; max-width: 100%; box-sizing: border-box; line-height: 1.6; word-wrap: break-word !important;">
<section style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;">
<section style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;">
<section style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;">
<section style="padding-right: 30px; padding-left: 30px; max-width: 100%; box-sizing: border-box; line-height: 1.6; word-wrap: break-word !important;">
<p style="max-width: 100%; box-sizing: border-box; min-height: 1em; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: #888888; font-size: 20px; box-sizing: border-box !important; word-wrap: break-word !important;">“</span></strong><span style="max-width: 100%; color: #888888; box-sizing: border-box !important; word-wrap: break-word !important;">PanGu-Draw: Advancing Resource-Efficient Text-to-Image Synthesis with Time-Decoupled Training and Reusable Coop-Diffusion<strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 20px; box-sizing: border-box !important; word-wrap: break-word !important;">”</span></strong></span></p>

</section>
</section>
</section>
</section>
</section>
</section>
</section>
</section>
<section style="margin-bottom: 0px;">
<section>
<section>
<section>华为诺亚方舟实验室推出业界最大的中文文生图模型PanGu-Draw。PanGu-Draw基于华为昇思MindSpore AI框架研发，在昇腾Atlas系列硬件加持下，文生图模型在数据利用、训练和推理方面的效率得到显著提升。

本文首先提出一种资源高效的时间解耦训练策略，将单一的文本到图像模型分割为结构和纹理生成器。每个生成器都使用最大限度地提高数据利用率和计算效率的方案进行训练，将数据准备减少48%，减少51%的训练资源。

同时，提出Coop-Diffusion算法，能够在统一的去噪过程中合作使用具有不同潜空间和预定义分辨率的各种预训练扩散模型。这允许在任意分辨率下进行多控制图像合成，而不需要额外的数据或重新训练。
<p style="text-align: left;"><span style="letter-spacing: 0.578px;">项目主页：https://pangu-draw.github.io</span></p>
<p style="text-align: left;"><span style="letter-spacing: 0.578px;"><span style="letter-spacing: 0.578px; text-wrap: wrap;">论文地址</span></span><span style="letter-spacing: 0.578px;"><span style="letter-spacing: 0.578px; text-wrap: wrap;">：https://arxiv.org/pdf/2312.16486.pdf</span></span></p>
<p style="text-align: left;"><span style="letter-spacing: 0.578px;"><span style="letter-spacing: 0.578px; text-wrap: wrap;">Github地址</span></span><span style="letter-spacing: 0.578px;"><span style="letter-spacing: 0.578px; text-wrap: wrap;">：https://github.com/mindspore-lab/mindone/tree/master/examples/pangu_draw_v3</span></span></p>
<span style="letter-spacing: 0.578px;"> </span>
<p style="text-align: center;"><strong><span style="font-size: 24px; color: #0052ff;">摘要</span></strong></p>

</section>
</section>
</section>
</section>
<section style="margin-bottom: 0px;">
<section>
<section>
<section>

PanGu-Draw旨在实现资源高效的文本到图像合成，并能够适应多个控制信号。该模型采用了时间分离训练策略和“Coop-Diffusion”算法，能够最大化数据利用和计算效率，同时实现多控制图像合成。实验证明，PanGu-Draw在文本到图像和多控制图像生成方面表现出色，具有很高的信息密度和生成多样性。最大的5B T2I PanGuDraw模型已在Ascend平台上发布。

</section>
</section>
</section>
</section>
<section style="margin-bottom: 0px;">
<section>
<section>
<section>

<section style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;">
<section>
<section>
<section>
<p style="text-align: center;"><strong><span style="font-size: 24px; color: #0052ff;">简介</span></strong></p>

</section>
</section>
</section>
</section>
<section style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;">
<section>
<section>
<section>

PanGu-Draw旨在提高扩展性和数据效率，同时节省训练资源。该范式采用时间分离训练策略，将综合文本到图像模型的训练分为两个不同的生成器：一个专门用于结构轮廓，另一个用于纹理细节。这种分离不仅集中了训练工作，而且提高了数据效果。结构生成器擅长制作图像的初始轮廓，提供数据质量的灵活性，并使训练跨越各种数据质量；相反，纹理生成器则使用低分辨率数据进行微调，将这些轮廓注入细节，确保在高分辨率合成期间实现最佳性能。这种专注的方法不仅加速了5B模型的训练过程，而且显著减少了对广泛数据收集和计算资源的依赖。

PanGu-Draw是一种高效的文本到图像生成模型，采用时间分离训练策略，能够在减少数据和训练资源的同时生成高质量的图像。Coop-Diffusion是一种多重扩散模型的合作集成算法，能够在一个统一的去噪过程中实现多控制和多分辨率图像合成，避免了引入伪影的问题。这些算法的综合评估表明，PanGu-Draw能够生成与文本和各种控制相一致的高质量图像，具有良好的可扩展性和灵活性。

<section style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;">
<section>
<section>
<section>
<p style="text-align: center;"><strong><span style="font-size: 24px; color: #0052ff;">相关工作</span></strong></p>

</section>
</section>
</section>
</section>
<section style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;">
<section>
<section>
<section>

</section>
</section>
</section>
</section><strong>文本到图像生成</strong>。GLIDE和DALL-E 2等模型能够从文本描述中生成多样且语义对齐的图像。Latent Diffusion模型通过从文本条件的低维潜在表示中创建图像来解决计算挑战。LoRA和ControlNet等技术提供了领域特定的适应性和空间条件控制。当前的研究还致力于将模型输出与人类审美偏好对齐，以优化图像质量和用户满意度。然而，目前还没有一个统一的框架来整合这些不同的能力，限制了图像合成中多控制和复杂编辑的潜力。

<strong>建立高效的训练和扩展策略。</strong>传统方法利用级联方法有效利用不同分辨率的数据，但依赖于多个模型，导致推理过程效率低下。相比之下，分辨率提升训练策略可以提高单个模型的成本效益，但并未充分利用数据效率。在扩展策略方面，模型大小与性能之间的相关性已有充分研究，大型模型可以获得显著的性能提升。本文提出了一种增强效率的扩散模型扩展方法。

<section style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;"></section>
<section style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;">
<section>
<section>
<section>
<p style="text-align: center;"><strong><span style="font-size: 24px; color: #0052ff;">PanGu-Draw</span></strong></p>

</section>
</section>
</section>
</section>
<p style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;"></p>
本文介绍了一种资源高效的5B文本到图像生成模型，采用时间解耦训练策略，并进一步增强了提示增强LLM。同时<span style="letter-spacing: 0.578px; font-size: var(--articleFontsize);">提出了CoopDiffusion算法，用于协作集成多种预训练扩散模型，实现多控制和多分辨率图像生成。</span>

<span style="color: #0052ff;"><strong>时间解耦训练策略</strong></span>
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmS3iaftWtw1rx4cgf1lR82KSqV8zicCib8Uqd8h5nwbuCE0Cst8WeEVG22Q/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006886" data-ratio="0.4648148148148148" data-s="300,640" data-type="png" data-w="1080" /></p>


提高数据、训练和推理效率对文本到图像模型的实际使用至关重要。为响应提高效率的需求，本文引入了时间解耦训练策略。该方法将一个文本到图像模型分为两个跨不同时间区间运行的专门子模型：结构生成器结构和纹理生成器纹理。每个子模型的大小是原始模型的一半，从而提高了可管理性，减少了计算负荷。

结构生成器结构负责跨较大时间步长的早期去噪，这一阶段的重点是建立图像的基本轮廓。纹理生成器纹理在后者中运行，较小的时间步长，详细生成纹理细节。每个生成器都是单独训练的，这不仅减轻了对高端内存计算设备的需求，而且避免了与模型分片相关的复杂性及其随之而来的机间通信开销。

在推理阶段，结构最初从初始随机噪声向量中构建一个基本结构图像。随后，纹理细化该基以增强纹理细节，最终形成最终输出。这种顺序处理促进了更节省资源的工作流程，大大减少了硬件占用，加快了生成过程，而不影响模型的性能或输出质量。

高效的专用训练策略。我们进一步对上述两种模型采用专门的训练设计。结构生成器需要在包含广泛概念的广泛数据集上进行训练。传统的方法通常会消除低分辨率图像，丢弃约48%的训练数据。相反，我们将高分辨率图像与放大的低分辨率图像相结合。这样既提高了数据效率，又避免了语义退化的问题。

本文提出在低分辨率下训练纹理的同时仍然在高分辨率下采样。我们在消融实验中证明，这种策略不会导致性能下降，也不会出现结构性问题。因此，我们的训练效率整体提高了51%。除了更高的数据和训练效率外，与级联训练策略相比，该策略还以更少的推理步骤实现了更高的推理效率，与分辨率提升训练策略相比，该策略的每一步模型更小。

<span style="color: #0052ff;"><strong>Coop-Diffusion：Multi-Diffusion融合</strong></span>
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSW6ibVjPMlkfdznMe4q99AfE4y0cgnQScTVic3YhmPOvF9nEMRFOJiaJ0A/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006887" data-ratio="0.537962962962963" data-s="300,640" data-type="png" data-w="1080" /></p>


不同模型的隐空间和分辨率不同，阻碍了不同模型控制图像的联合合成，从而限制了它们的实际应用。针对这些挑战，本文提出了具有两个关键子模块的Coop-Diffusion算法，以弥合潜在空间差距和分辨率差距，并将去噪过程统一在同一空间中。
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSwCniapccG1K7PtnFnX9rD3iczXFAWbppBPkLAB0BEBjWECJN8ia81MsuQ/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006885" data-ratio="1.4078014184397163" data-s="300,640" data-type="png" data-w="564" /></p>


<strong>弥合潜在空间缺口。</strong>为了弥合空间之间的潜空间差距，本文建议通过将潜空间B中的模型预测转换为潜空间A，以图像空间为中间，来统一潜空间A中的模型预测。

<strong>弥合分辨率差距。</strong>为了将低分辨率模型的去噪过程与高分辨率模型的去噪过程相结合，上采样和/或下采样是必要的。传统的双线性上采样通常应用于去噪过程中的中间结果不能很好地放大像素间的相关性。这种放大偏离了最初的独立同分布(IID)假设，导致最终图像中出现严重的伪影。相反，下采样不存在这个问题。为解决上采样中的IID问题，本文提出一种新的上采样算法，保留IID假设，从而弥合具有不同预训练分辨率的模型之间的分辨率差距。
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSjYK1CpkKdFS2zIjicWR4U0LBZ46Ciajn64xIhvlckm8s4u074xlO95Ug/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006888" data-ratio="0.6588868940754039" data-s="300,640" data-type="png" data-w="557" /></p>


<section style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;">
<section>
<section>
<section>
<p style="text-align: center;"><strong><span style="font-size: 24px; color: #0052ff;">实验</span></strong></p>

</section>
</section>
</section>
</section><strong> </strong>

<strong>实现细节。</strong>本文采用SDXL的预训练变分自编码器(VAE)模型，并基于其U-Net模型架构构建了结构和纹理生成器。为了实现双语文本到图像生成(中文和英文)，我们在中文训练数据集上预训练了一个中文文本编码器。然后，将来自这个中文文本编码器的文本嵌入与预训练的英文文本编码器的文本嵌入连接起来，作为去噪模型的最终文本嵌入。对于多分辨率图像生成，选择1024x1024左右的图像分辨率范围，并进一步将去噪模型约束在图像分辨率索引对应的正弦位置嵌入上。根据消融研究的建议，将T结构参数设置为500。

<strong>数据集。</strong>为了涵盖世界上丰富的概念，我们从多个来源收集各种风格的图像，包括Noah-Wukon、LAION和其他，如摄影，卡通，肖像和游戏资源。

<strong>评价指标。</strong>我们分别在COCO和COCO-CN上用30k张图片(英文)和10k张图片(中文)进行评估。采用FID评价图像质量和多样性。对于中文，其他指标包括Inception Score(IS)和CNCLIP-score。

<span style="color: #0052ff;"><strong>文本到图像生成</strong></span>
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSMh9qL5hq4eXQpWnQzAHPD8znicxRVahrm5NvM0DDMOxTpoVbWs84f8w/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006889" data-ratio="0.6696588868940754" data-s="300,640" data-type="png" data-w="557" /></p>
<p style="text-align: center;"></p>
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSULcuEeEatibE8DcJZoScKicjNMibUNpkjx779Pctqzmg4KXkVzopUyG7w/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006891" data-ratio="0.8629893238434164" data-s="300,640" data-type="png" data-w="562" /></p>


PanGu-Draw在COCO数据集上表现优异，FID值为7.99，超过了DALL-E 2和SDXL等方法，并与SOTA方法竞争力相当。在COCO-CN数据集上，PanGu-Draw在三个指标上均优于Taiyi-CN、Taiyi-Bilingual和AltDiffusion等中文文本到图像生成模型。用户研究表明，PanGu-Draw在三个指标上均优于SD和SDXL，并且与Midjourney 5.2和DALL-E 3的表现相当。PanGu-Draw生成的高保真度多分辨率图像具有高美学价值，并与输入提示在语义上对齐。
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmS4hK7BQbRUmcHGb4HuH7JO5bZUcibJs6mMCt4xZnuDUPEe5Hx9xVPClw/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006890" data-ratio="0.8638888888888889" data-s="300,640" data-type="png" data-w="1080" /></p>


<span style="color: #0052ff;"><strong>Multi-Diffusion融合结果</strong></span>

<strong>多重控制图像生成。</strong>通过与不同模型的融合，PanGu-Draw实现了多样化的图像生成。
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSq5JYEMevsv3QV6fV9og6iagW0AOiaPgeVQmmSCxiccb2wNWGqKerA5k4w/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006893" data-ratio="1.514336917562724" data-s="300,640" data-type="png" data-w="558" /></p>


<strong>多分辨率图像生成。</strong>PanGu-Draw为低分辨率预测添加了许多细节，从而获得了高保真的高分辨率结果。此外，与采用扩散模型实现所有低分辨率去噪步骤的超分辨率方法相比，该方法具有更高的推理效率。
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSA9O36Rl0enjR0x3HnLWG70xyia1Ro32OXuF1gW7g7YIJ0HeEQMYqDZA/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006894" data-ratio="1.0702702702702702" data-s="300,640" data-type="png" data-w="555" /></p>


<span style="color: #0052ff;"><strong>消融分析</strong></span>

<strong>时间解耦训练策略。</strong>使用我们的策略训练的模型在所有三个指标上都取得了更好的性能，表明我们的策略的有效性。
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSLDBI1sRjBaJ02UBLXOOM2yvqw3pW7FV63MJbPD4MuYBkaOGnN47GWA/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006896" data-ratio="0.3112701252236136" data-s="300,640" data-type="png" data-w="559" /></p>


<strong>训练设计。</strong>结构生成器和纹理生成器被设计为在不同的分辨率上进行训练，以提高数据和训练效率。我们将这种设计与传统的训练过程进行了比较，其中结构生成器丢弃低分辨率图像，或者纹理生成器以高分辨率进行训练。在COCO上的结果显示，结构生成器受益于这些额外的上采样数据，而纹理生成器在较小的分辨率下学习足够的纹理模式。
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmS3Oiaoic57JOy67dySrPZrTC1y6mCG6faice0d4313MXEjwIy08BuS7A2A/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006897" data-ratio="0.3267504488330341" data-s="300,640" data-type="png" data-w="557" /></p>


<strong>时间步分割点。</strong>结构生成器和纹理生成器之间的时间步分割点T struct也会影响最终性能。结果显示，随着T struct从200增加到700，性能一开始增加，然后持续下降。T struct = 500是最佳值。
<p style="text-align: center;"><img style="height: auto !important;" title="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" src="https://www.96p.net/bizimg/mmbiz.qpic.cn/sz_mmbiz_png/MRJiclxHSU3aETYNKZQiaGF4mib0sWPcxmSoJgjXcnialPJJn6oXYN0ep8Fq6NdBTGQ32OSlQzQZBtdrvAP2hxib6WQ/640" alt="《华为推出业界最大的中文文生图模型PanGu-Draw》- 投稿作者:灵度智能 - 发布于:GetAI社区" data-galleryid="" data-imgfileid="100006898" data-ratio="0.36396396396396397" data-s="300,640" data-type="png" data-w="555" /></p>


<section style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;">
<section>
<section>
<section>
<p style="text-align: center;"><strong><span style="font-size: 24px; color: #0052ff;">总结</span></strong></p>

</section>
</section>
</section>
</section>
<p style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;"><strong> </strong></p>
<p style="margin-bottom: 0px; letter-spacing: 0.578px; text-wrap: wrap;">PanGu-Draw能够有效地整合多个控制信号。该方法采用了时间解耦训练策略，将文本到图像过程分为结构和纹理生成，提高了数据利用率和计算效率。此外，还引入了Coop-Diffusion算法，允许在统一的去噪过程中协同使用不同的预训练扩散模型，实现多控制图像合成，无需额外数据或重新训练。PanGu-Draw在英文T2I方面优于DALLE 2和SDXL，中文T2I方面表现出更好的FID、IS和CN-CLIP分数，并获得了良好的用户反馈。这使得PanGu-Draw成为一种多功能高效的最先进方法，可在Ascend平台上使用。</p>


</section>
</section>
</section>
</section>
</section>
</section>
</section>
</section>
<p style="display: none;"></p>
