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

Recognize maintenance routine unnecessarily redownloads Tensorflow CPU and GPU models every time

未关闭
#1,478 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@marcelklehr 已经在做这个了。

开始于 2026年4月1日。

评估

这个 Issue 还没有评估数据。

描述

bug
Which version of recognize are you using?

11.0.1

Enabled Modes

Face recognition

TensorFlow mode

Normal mode

Downstream App

Memories App

Which Nextcloud version do you have installed?

33.0.1

Which Operating system do you have installed?

Debian 13

Which database are you running Nextcloud on?

MariaDB 11.8.6

Which Docker container are you using to run Nextcloud? (if applicable)

N/A

How much RAM does your server have?

4GiB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

While running occ maintenance:repair I noticed that the Recognize step took a bit of time the command is run. After a bit of debugging, it appears that Recognize is explicitly forcing a re-download of both the CPU (tfjs-node) and GPU (tfjs-node-gpu) models every time which seems completely unnecessary. It also does this regardless of whether occ maintenance:repair included the --include-expensive option.

Expected Behavior

The Recognize maintenance step should only perform necessary maintenance and not re-download ~150 MB of dependencies.

To Reproduce

Run occ maintenance:repair

Debug log

No response

主要语言
PHP
星标
701
派生
70
平均合并
10 天 22 小时
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

nextcloud/recognize 的其他 Issue

查看 nextcloud/recognize 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

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