diff --git a/development/core-concepts/models.mdx b/development/core-concepts/models.mdx index 133639b8a..3b3a53781 100644 --- a/development/core-concepts/models.mdx +++ b/development/core-concepts/models.mdx @@ -15,11 +15,11 @@ Models are essential building blocks for media generation workflows. They can be The word **_model_** has many different meanings. Here, it means a data file carrying information that is required for a node graph to do its work. Specifically, it’s a data structure that _models_ some function. As a verb, to model something means to represent it or provide an example. -The primary example of a model data file in ComfyUI is an AI **_diffusion model_**. This is a large set of data that represents the complex relationships among text strings and images, making it possible to translate words into pictures or vice versa. Other examples of common models used for image generation are language models such as CLIP, and upscaling models such as RealESRGAN. +The primary example of a model data file in ComfyUI is an AI **_diffusion model_**. This is a large set of data that represents the complex relationships among text strings and images, making it possible to translate words into pictures or vice versa. Other examples of common models used for image generation are multimodal vision and language models such as CLIP, and upscaling models such as RealESRGAN. ## Model files -Model files are absolutely required for generative media production. Nothing can happen in a workflow if the model files are not found. Models are not included in the ComfyUI installation, but ComfyUI can often automatically download and install missing model files. Many models can be downloaded and installed from the **ComfyUI Manager** window. Models can also be found at websites such as [huggingface.co](https://huggingface.co), [civitai.green](https://civitai.green), and [github.com](https://github.com). +Model files are indispensable for generative media production. Without them, workflows cannot proceed effectively. Models are not included in the ComfyUI installation, but ComfyUI can often automatically download and install missing model files. Many models can be downloaded and installed from the **ComfyUI Manager** window. Models can also be found at websites such as [huggingface.co](https://huggingface.co), [civitai.green](https://civitai.green), and [github.com](https://github.com). ### Using Models in ComfyUI diff --git a/snippets/zh/install/add-external-models.mdx b/snippets/zh/install/add-external-models.mdx index b261721b7..c387e93eb 100644 --- a/snippets/zh/install/add-external-models.mdx +++ b/snippets/zh/install/add-external-models.mdx @@ -16,7 +16,7 @@ my_custom_config: **重要提示:** 针对不同模型类型使用正确的属性名称: - `loras` - 用于 LoRA 模型 -- `checkpoints` - 用于检查点模型 +- `checkpoints` - 用于 Checkpoints 模型 - `vae` - 用于 VAE 模型 - `controlnet` - 用于 ControlNet 模型 - `clip` - 用于 CLIP 模型 @@ -43,4 +43,4 @@ my_custom_config: - Linux:`~/.config/ComfyUI/extra_models_config.yaml` - 打开文件管理器并导航到隐藏文件夹 `~/.config/ComfyUI` -如果该文件尚不存在,你可以使用任何文本编辑器自己创建它。 \ No newline at end of file +如果该文件尚不存在,你可以使用任何文本编辑器自己创建它。 diff --git a/zh-CN/development/core-concepts/models.mdx b/zh-CN/development/core-concepts/models.mdx index 6e702ec62..7e93cfc0a 100644 --- a/zh-CN/development/core-concepts/models.mdx +++ b/zh-CN/development/core-concepts/models.mdx @@ -3,7 +3,7 @@ title: "模型" icon: "file" --- -import ExternalModels from "/snippets/install/add-external-models.mdx" +import ExternalModels from "/snippets/zh/install/add-external-models.mdx" {/* description: "了解AI模型及其在ComfyUI中的作用" @@ -11,15 +11,15 @@ description: "了解AI模型及其在ComfyUI中的作用" ## 模型是必不可少的 -模型是媒体生成工作流程的基本构建块。它们可以组合和混合以实现不同的创意效果。 +模型是媒体生成工作流程的核心组件。通过组合和混合,它们能够实现多样化的创意效果。 -**_模型_** 这个词有许多不同的含义。在这里,它指的是一个数据文件,携带节点图执行其工作所需的信息。具体来说,它是一个数据结构,_模型_ 某种功能。作为动词,建模某物意味着表示它或提供一个示例。 +**_模型_** 一词有多种含义。在这里,它指的是一种数据文件,包含节点图执行任务所需的信息。具体来说,它是一种数据结构,用于表示某种功能。作为动词,建模意味着对某物进行表示或提供示例。 -在ComfyUI中,模型数据文件的主要示例是AI **_扩散模型_**。这是一组大型数据,表示文本字符串和图像之间复杂的关系,使得将单词翻译成图片或反之成为可能。其他用于图像生成的常见模型示例包括语言模型,如CLIP,以及图像放大模型,如RealESRGAN。 +在ComfyUI中,模型数据文件的典型示例是AI **_扩散模型_**。它是一组庞大的数据集,表示文本与图像之间的复杂关系,从而实现文字与图片的相互转换。其他用于图像生成的常见模型示例包括多模态视觉和语言模型,如CLIP,以及图像放大模型,如RealESRGAN。 ## 模型文件 -模型文件对于生成媒体制作是绝对必要的。如果找不到模型文件,工作流程中将无法进行任何操作。模型不包含在ComfyUI安装中,但ComfyUI通常可以自动下载和安装缺失的模型文件。许多模型可以从**ComfyUI管理器**窗口下载和安装。模型也可以在以下网站找到:[huggingface.co](https://huggingface.co)、[civitai.green](https://civitai.green)和[github.com](https://github.com)。 +模型文件是生成媒体制作的必需品。没有模型文件,工作流程将无法进行。ComfyUI安装包中不包含模型文件,但它通常可以自动下载并安装缺失的模型文件。许多模型可以通过**ComfyUI管理器**窗口下载和安装。模型还可以在以下网站获取:[huggingface.co](https://huggingface.co)、[civitai.green](https://civitai.green)和[github.com](https://github.com)。 ### 在ComfyUI中使用模型 @@ -35,11 +35,11 @@ description: "了解AI模型及其在ComfyUI中的作用" ### 文件大小 -相对于图像文件,模型文件可能非常大。一个典型的未压缩图像可能需要几兆字节的磁盘存储。生成的AI模型可能大到数万倍,单个模型可达数十吉字节。它们占用大量磁盘空间,并且在网络上传输需要很长时间。 +相对于图像文件,模型文件可能非常大。一个典型的未压缩图像可能需要几MB的磁盘存储。生成的AI模型可能大到数万倍,单个模型可达数十GB。它们占用大量磁盘空间,并且在网络上传输需要很长时间。 ## 模型训练和优化 -生成AI模型是通过在非常大的数据集上训练机器学习程序创建的,例如图像和文本描述的配对。AI模型并不明确存储训练数据,而是存储数据中隐含的相关性。 +生成式AI模型是通过在非常大的数据集上训练机器学习程序创建的,例如图像和文本描述的配对。AI模型并不明确存储训练数据,而是存储数据中隐含的相关性。 像Stability AI和Black Forest Labs这样的组织和公司发布“基础”模型,这些模型携带大量通用信息。这些是通用的生成AI模型。通常,基础模型需要进行**_优化_**,以获得高质量的生成输出。一个专门的社区致力于优化基础模型。新的优化模型产生更好的输出,提供新的或不同的功能,并/或使用更少的资源。优化后的模型通常可以在计算能力和/或内存较少的系统上运行。 @@ -47,4 +47,4 @@ description: "了解AI模型及其在ComfyUI中的作用" 模型功能可以通过辅助模型进行扩展。例如,艺术指导文本到图像的工作流程以实现特定结果,单靠扩散模型可能会很困难或不可能。额外的模型可以在工作流程图中优化扩散模型,以产生所需的结果。示例包括**LoRA**(低秩适应),一个针对特定主题训练的小模型;**ControlNet**,一个使用引导图像帮助控制构图的模型;以及**Inpainting**,一个允许某些扩散模型在现有图像中生成新内容的模型。 -![辅助模型](/images/concepts/core-concepts_auxiliary-model.png) \ No newline at end of file +![辅助模型](/images/concepts/core-concepts_auxiliary-model.png)