Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

VaeImageProcessor.blur() docstring is missing blur_factor and has a copy-pasted description

未关闭 适合新手
#14,209 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@sergioperezcheco 已经在做这个了。

开始于 2026年7月17日。

  • #14210 来自 @sergioperezcheco —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
88/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
冷清
技术栈
python
领域
documentation

调研方向

打开 src/diffusers/image_processor.py,并结合附近的 docstring 阅读 VaeImageProcessor.blur()。更新 Args 和 Returns/description 文本,以记录 blur_factor 并准确描述模糊处理,同时保持现有的风格和长度。单文件中的 docstring 与方法的行为以及附近的文档约定一致时即完成。

由索引模型根据 Issue 内容生成。

描述

bug needs-code-example pipelines

VaeImageProcessor.blur()'s docstring is missing the blur_factor parameter entirely, and its
Returns/description text appears to be copy-pasted from a different method — it currently
describes converting an image to grayscale, not blurring it.

Location: src/diffusers/image_processor.py, VaeImageProcessor.blur(), around line 271.

Proposed fix: add the missing blur_factor entry to the Args section and correct the
description to accurately describe the blur behavior, matching the style of nearby docstrings
in the same file (1-3 sentences, no more).

I have a small, single-file fix ready and would like to open a PR for this if a maintainer can
confirm it's welcome — happy to follow whatever review process you prefer.

主要语言
Python
星标
34.7k
派生
7.4k
平均合并
3 天 1 小时
30 天内合并 PR
59

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

huggingface/diffusers 的其他 Issue

查看 huggingface/diffusers 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。