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

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

オープン
#1,478 コメント 3 件 リアクション 0 件 担当者 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
スター
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 を短くまとめたダイジェスト。