Recognition Cannot Get Past Image
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, php, tensorflow, wasm
调研方向
从 lib/Classifiers/Classifier.php 第 389 行附近开始,检查图像 18666 的预览生成反复失败问题。使用报告中的 23 MB、15,600×15,600 JPG 在 WASM 模式下复现,然后验证失败的图像在有限次重试后会被跳过,并且识别会继续进行。
由索引模型根据 Issue 内容生成。
描述
Which version of recognize are you using?
10.0.6
Enabled Modes
Object recognition, Face recognition
TensorFlow mode
WASM mode
Downstream App
Photos App
Which Nextcloud version do you have installed?
32.0.1
Which Operating system do you have installed?
Ubuntu 24.04
Which database are you running Nextcloud on?
Postgres?
Which Docker container are you using to run Nextcloud? (if applicable)
AIO
How much RAM does your server have?
4 GB
What processor Architecture does your CPU have?
x86
Describe the Bug
Recognize errors on one particular image, and cannot move past it. Face and Object recognition halts.
From the Nextcloud Logs:
Allowed memory size of 536870912 bytes exhausted (tried to allocate 65536 bytes) at /var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php#389
Failed to generate preview of 18666 with dimension 1024 with nextcloud preview manager: No provider successfully handled the preview generation
The above just repeats every 6 hours. Same number 18666.
Expected Behavior
Fail x number of times, put it aside, and then move on.
To Reproduce
Not sure what to tell you. The image 18666 (if I'm identifying it correctly), is quite large: a 23 MB JPG. 15,600x15,600 pixels. It's not under "Photos", is a digital drawing, and doesn't have any faces or objects to recognize.
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
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
bug
难度 5/5 一周以上 新手友好度 15/100
-
enhancement
难度 3/5 1-2 天 新手友好度 65/100
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
查看 nextcloud/recognize 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
backdrop-contrib/paragraphs#299 ·
-
tech-debt
难度 2/5 1-3 小时 新手友好度 78/100
landsman/adminer-desktop#206 ·
维护者通常 1 天内回复
-
Explosm: Cyanide & Happiness failed with: https://explosm.net/comics/latest#comic resulted in 307未关闭
难度 2/5 1-3 小时 新手友好度 72/100
RSS-Bridge/rss-bridge#5154 ·
维护者通常 1 天内回复
-
sync-en
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 2 天内回复