nextcloud / nextcloud/recognize

Error while running facesclassifier

Open
#1,277 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority: normal waiting for more information
Dominant language
PHP
Stars
699
Forks
68
Avg merge
1d 4h
Merged PRs (30d)
5

Description

Which version of recognize are you using?

9.0.0

Enabled Modes

Face recognition

TensorFlow mode

GPU mode

Downstream App

Files App

Which Nextcloud version do you have installed?

30.0.1

Which Operating system do you have installed?

ubuntu 22

Which database are you running Nextcloud on?

MariaDB 11.7.2

Which Docker container are you using to run Nextcloud? (if applicable)

No response

How much RAM does your server have?

8GB

What processor Architecture does your CPU have?

x86_x64

Describe the Bug
  68 => '/tmp/oc_tmp_A6NnhTLrjI9F8uGWUGkbT9fQWN6JbI2N.jpg',
  69 => '/tmp/oc_tmp_vSMzbT02YmJqNmmZ3KRhBldCfQ0Ogd4c.jpg',
  70 => '/tmp/oc_tmp_bn8TcHXTtAGSftUTQtCOvOBdDTXcs5OD.jpg',
)
Running array (
  0 => '/usr/bin/nice',
  1 => '-0',
  2 => '/var/www/html/apps/recognize/bin/node',
  3 => '/var/www/html/apps/recognize/src/classifier_faces.js',
  4 => '-',
)
Classifier process output: Platform node has already been set. Overwriting the platform with node.

Classifier process output: Platform node has already been set. Overwriting the platform with node.

face classifier end
Error while running facesclassifier
No files left to classify
No files left to classify
generating preview of 3862 with dimension 1024 using nextcloud preview manager
generating preview of 3863 with dimension 1024 using nextcloud preview manager
generating preview of 3864 with dimension 1024 using nextcloud preview manager
Expected Behavior

Run without error.
Add new faces to recognized faces.

To Reproduce

Started with

php occ recognize:cluster-faces

in docker container

Debug log

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing php occ recognize:cluster-faces in the reported environment and inspect src/classifier_faces.js, especially the classifier process output and the Platform node has already been set messages. Compare the face-classifier end state with the expected addition of new faces to recognized faces, and confirm that the command completes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php, tensorflow
Domain
backend, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.