> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# 一步把模糊照片放大四倍：Kandinsky ImageSR 2.0 如何训练？
- URL: https://globalfeed.ai/zh/yi-bu-ba-mo-hu-zhao-pian-fang-da-si-bei-kandinsky-imagesr-2-0-ru-he-xun-lian/
- Published: 2026-11-29T22:15:02.000Z
- Updated: 2026-11-29T22:15:02.000Z
- Description: Kandinsky Lab 的 MIT 许可开源模型可将图像放大 2 倍或 4 倍，用退化图像和两种频域损失训练。
- Author: GlobalFeed Editor
- Tags: Kandinsky, 开源模型, dil-zh, elle

Kandinsky Lab 于 11 月 24 日在 Hugging Face 发布开源超分辨率模型 [Kandinsky ImageSR 2.0](https://huggingface.co/kandinskylab/Kandinsky-ImageSR-2.0?ref=globalfeed.ai)，可一步将图像放大 2 倍或 4 倍；11 月 28 日的更新又加入了不改变尺寸的画质增强。代码和模型均为 MIT 许可。按实验室在 H100 上的自测，1024 像素图像放大到 4096 像素需 4 至 8 秒。

## 模型如何工作

模型由 Kandinsky 5.0 Image Lite 的扩散 Transformer 微调而来，在冻结的 FLUX.1-schnell VAE 潜空间中工作，每个图块只运行一次 Transformer，并用单步 Euler 得到结果。模型不需要文本提示，文本编码器已被预先计算成表格。用户只需设置 0 到 8 共九级“创造性”，级别越低越忠于原图。

## 如何训练

训练对在训练过程中即时生成：基于 Real-ESRGAN 的模糊、噪声、缩小和压缩，加上保边退化和生成模型造成的退化，使模型既能修复照片也能修复 AI 生成图。4 倍模式用缩小 8 倍的图像训练。训练裁剪由判别器挑选细节最丰富的区域。共使用五种损失：L1、DISTS、基于冻结 DINOv3-ConvNeXt 的 GAN 损失，以及针对网格伪影的两种频域损失 MFS 和 HFP。训练步数和算力未公开，实验室也没有发布 PSNR 等质量分数。

可在 Hugging Face 演示页试用，也可通过 pip 安装或使用官方 ComfyUI 节点，GGUF Q8\_0 版本 4 倍放大约需 5.92 GiB 显存。

来源： [模型卡片](https://huggingface.co/kandinskylab/Kandinsky-ImageSR-2.0?ref=globalfeed.ai), [GitHub](https://github.com/kandinskylab/kandinsky-image-sr?ref=globalfeed.ai), [技术博客（俄文）](https://kandinskylab.ai/blog/image-super-resolution/?ref=globalfeed.ai), [优化说明](https://github.com/kandinskylab/kandinsky-image-sr/blob/main/docs/optimizations.md?ref=globalfeed.ai)