Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Recognition Cannot Get Past Image

オープン
#1,420 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

bug priority: normal waiting for more information
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
スター
699
フォーク
68
平均マージ
18時間 34分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/recognize のほかの issue

nextcloud/recognize の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。