Recognize maintenance routine unnecessarily redownloads Tensorflow CPU and GPU models every time
@marcelklehr đang làm issue này rồi.
Từ ngày 1/4/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- PHP
- Star
- 699
- Fork
- 68
- Merge trung bình
- 18 giờ 34 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextcloud/recognize
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
insertDeletion looks up recognize_fs_deletions by node_id alone, which no index covers — bulk removals scan the whole table per fileCó thể đã có người làm @marcelklehr đã nhận 7 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
-
Model download button in UIĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
Tất cả issue của nextcloud/recognize
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Leaked Sensitive InformationĐang mở
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
customer-support needs-triage Platform(Default)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
grokability/snipe-it#19767 ·
Maintainer thường phản hồi trong vòng 1 ngày