matiasdelellis / facerecognition

Nextcloud app that implement a basic facial recognition system.
GNU Affero General Public License v3.0
510 stars 46 forks source link

Full analysis does not start - ends with skipping of clustering #654

Closed SaschaMuehl closed 1 year ago

SaschaMuehl commented 1 year ago

Hallo, unfortunatelly the full analysis does not start. It ends with skipping of the clustering. Does I do sth. wrong? (I also run the Nextcloud app recognition and was running the index before)

Expected behaviour

Start of full anaylsis with: sudo -u www-data php /var/www/nextcloud/occ face:background_job -u Sascha and with special setup sudo -u www-data php /var/www/nextcloud/occ face:background_job -u Sascha -t 900 --defer-clustering --max_image_area 1671x1253

Actual behaviour

ends with skipping of clustering image

Steps to reproduce

  1. Model and Memory settled up image

  2. Analysis for user "Sascha" is activated image

  3. running Test for User Sascha image

  4. checking progress image

  5. checking stats image

  6. Wait for 24h

Also crontab does not work: image

Server configuration

Client configuration

Logs

Background task log with debug.

image

matiasdelellis commented 1 year ago

Did you enable analysis in your personal settings?

SaschaMuehl commented 1 year ago

Did you enable analysis in your personal settings?

Yes I did (discribed in step 2 in reproduction). I also tried to deactivate and activate it and wait for 24h.

SaschaMuehl commented 1 year ago

With the new update and the "crawl missing" option it seems it work out:

  1. reset: occ face:reset --all and occ face:reset --all -u USER_ID
  2. handle external files: occ config:app:set facerecognition handle_external_files --value true
  3. restart the recognition occ user:setting USER_ID facerecognition full_image_scan_done false
  4. sudo -u www-data php /var/www/nextcloud/occ face:background_job -u USER_ID --crawl-missing