找回密码
 立即注册
查看: 1499|回复: 6

[教程] 🤗 Diffusers库中文文档

[复制链接]

3869

主题

36

回帖

4331

积分

管理员

积分
4331
发表于 2023-6-13 14:59:15 | 显示全部楼层 |阅读模式

🤗 Diffusers是用于生成图像、音频甚至分子的3D结构的最先进的预训练扩散模型的首选库。无论您是寻找简单的推理解决方案还是想要训练自己的扩散模型,🤗 Diffusers都是一个支持两者的模块化工具箱。我们的库的设计注重易用性而非性能,注重简单而非轻松,注重可定制性而非抽象化。

diffusers_library.jpg

该库包含三个主要组件:

  1. 最先进的扩散管道,只需几行代码即可进行推理。diffusion pipelines
  2. 可互换的噪声调度器,用于平衡生成速度和质量之间的权衡。noise schedulers
  3. 预训练模型可用作构建模块,并与调度器组合,用于创建自己的端到端扩散系统。models

支持的管道pipelines

管道 Pipeline 论文/代码库 任务
alt_diffusion AltCLIP: Altering the Language Encoder in CLIP for Extended Language Capabilities 图像到图像的文本引导生成
audio_diffusion Audio Diffusion 无条件音频生成
controlnet Adding Conditional Control to Text-to-Image Diffusion Models 图像到图像的文本引导生成
cycle_diffusion Unifying Diffusion Models’ Latent Space, with Applications to CycleDiffusion and Guidance 图像到图像的文本引导生成
dance_diffusion Dance Diffusion Unconditional Audio Generation
ddpm Denoising Diffusion Probabilistic Models Unconditional Image Generation
ddim Denoising Diffusion Implicit Models Unconditional Image Generation
if IF Image Generation
if_img2img IF Image-to-Image Generation
if_inpainting IF Image-to-Image Generation
latent_diffusion High-Resolution Image Synthesis with Latent Diffusion Models Text-to-Image Generation
latent_diffusion High-Resolution Image Synthesis with Latent Diffusion Models Super Resolution Image-to-Image
latent_diffusion_uncond High-Resolution Image Synthesis with Latent Diffusion Models Unconditional Image Generation
paint_by_example Paint by Example: Exemplar-based Image Editing with Diffusion Models Image-Guided Image Inpainting
pndm Pseudo Numerical Methods for Diffusion Models on Manifolds Unconditional Image Generation
score_sde_ve Score-Based Generative Modeling through Stochastic Differential Equations Unconditional Image Generation
score_sde_vp Score-Based Generative Modeling through Stochastic Differential Equations Unconditional Image Generation
semantic_stable_diffusion Semantic Guidance Text-Guided Generation
stable_diffusion_text2img Stable Diffusion Text-to-Image Generation
stable_diffusion_img2img Stable Diffusion Image-to-Image Text-Guided Generation
stable_diffusion_inpaint Stable Diffusion Text-Guided Image Inpainting
stable_diffusion_panorama MultiDiffusion Text-to-Panorama Generation
stable_diffusion_pix2pix InstructPix2Pix: Learning to Follow Image Editing Instructions Text-Guided Image Editing
stable_diffusion_pix2pix_zero Zero-shot Image-to-Image Translation Text-Guided Image Editing
stable_diffusion_attend_and_excite Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models Text-to-Image Generation
stable_diffusion_self_attention_guidance Improving Sample Quality of Diffusion Models Using Self-Attention Guidance Text-to-Image Generation Unconditional Image Generation
stable_diffusion_image_variation Stable Diffusion Image Variations Image-to-Image Generation
stable_diffusion_latent_upscale Stable Diffusion Latent Upscaler Text-Guided Super Resolution Image-to-Image
stable_diffusion_model_editing Editing Implicit Assumptions in Text-to-Image Diffusion Models Text-to-Image Model Editing
stable_diffusion_2 Stable Diffusion 2 Text-to-Image Generation
stable_diffusion_2 Stable Diffusion 2 Text-Guided Image Inpainting
stable_diffusion_2 Depth-Conditional Stable Diffusion Depth-to-Image Generation
stable_diffusion_2 Stable Diffusion 2 Text-Guided Super Resolution Image-to-Image
stable_diffusion_safe Safe Stable Diffusion Text-Guided Generation
stable_unclip Stable unCLIP Text-to-Image Generation
stable_unclip Stable unCLIP Image-to-Image Text-Guided Generation
stochastic_karras_ve Elucidating the Design Space of Diffusion-Based Generative Models Unconditional Image Generation
text_to_video_sd Modelscope’s Text-to-video-synthesis Model in Open Domain Text-to-Video Generation
unclip Hierarchical Text-Conditional Image Generation with CLIP Latents(implementation by kakaobrain) Text-to-Image Generation
versatile_diffusion Versatile Diffusion: Text, Images and Variations All in One Diffusion Model Text-to-Image Generation
versatile_diffusion Versatile Diffusion: Text, Images and Variations All in One Diffusion Model Image Variations Generation
versatile_diffusion Versatile Diffusion: Text, Images and Variations All in One Diffusion Model Dual Image and Text Guided Generation
vq_diffusion Vector Quantized Diffusion Model for Text-to-Image Synthesis Text-to-Image Generation

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

3869

主题

36

回帖

4331

积分

管理员

积分
4331
 楼主| 发表于 2023-6-13 14:59:40 | 显示全部楼层
占位

3869

主题

36

回帖

4331

积分

管理员

积分
4331
 楼主| 发表于 2023-6-13 14:59:45 | 显示全部楼层
占位

3869

主题

36

回帖

4331

积分

管理员

积分
4331
 楼主| 发表于 2023-6-13 14:59:47 | 显示全部楼层
占位

3869

主题

36

回帖

4331

积分

管理员

积分
4331
 楼主| 发表于 2023-6-13 14:59:50 | 显示全部楼层
占位

3869

主题

36

回帖

4331

积分

管理员

积分
4331
 楼主| 发表于 2023-6-13 14:59:52 | 显示全部楼层
占位

3869

主题

36

回帖

4331

积分

管理员

积分
4331
 楼主| 发表于 2023-6-13 14:59:55 | 显示全部楼层
占位
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|金房子

GMT+8, 2024-12-22 17:20 , Processed in 0.057675 second(s), 23 queries .

© 2023 金房子|AI发烧友社区

快速回复 返回顶部 返回列表