Recognize maintenance routine unnecessarily redownloads Tensorflow CPU and GPU models every time
@marcelklehr 已经在做这个了。
开始于 2026年4月1日。
评估
这个 Issue 还没有评估数据。
描述
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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/recognize 的其他 Issue
-
bug
难度 4/5 3-5 天 新手友好度 45/100
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
bug
难度 5/5 一周以上 新手友好度 15/100
-
enhancement
难度 3/5 1-2 天 新手友好度 65/100
查看 nextcloud/recognize 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 71/100
Automattic/blocks-engine#3438 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
getgrav/grav-plugin-api#66 ·
-
Document Laravel 12/13 attributes that work in modules (UsePolicy, ObservedBy, UseFactory, Bind)未关闭enhancement
难度 2/5 1-3 小时 新手友好度 74/100
nWidart/laravel-modules#2236 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
frontend good first issue healthcare-review
难度 2/5 1-3 小时 新手友好度 83/100
AfyaLinkAfrica/afyalink-web#25 ·
维护者通常 1 天内回复