-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to open mmod_human_face_detector.dat #680
Comments
Now i get another error after disabling, removing and reinstalling: An error occurred while trying to read the first object from the file /mnt/ |
Anyone? Thanks |
Restored from a backup, but after analyzing more than 11000 images, only 5 faces found. ANYONE CAN HELP HERE??????? |
Expected behaviour
Recognize faces from new images uploaded
Actual behaviour
After uploading new images, new faces are not detected.
Running occ face:background_job returns the error
Unable to open /mnt/nc_data//appdata_oclm6369wrp2/facerecognition/models//1/mmod_human_face_detector.dat for reading.
Steps to reproduce
Server configuration
Operating system:
Ubuntu 22.04.2 LTS
Pdlib version:
How is DLib installed: Make sure it is working correctly with this tool
apt install php8.1-pdlib
PHP version:
8.1
Web server:
apache2
Database:
10.6.14-MariaDB
Nextcloud version:
27.0
Client configuration
Browser:
Google Chrome / Mozilla FF
Operating system:
Windows 10 22H2
Logs
Background task log with debug.
sudo -u apache php occ -vvv face:background_job
1/8 - Executing task CheckRequirementsTask (Check all requirements)
System: Linux
System memory: 16723877888
PHP Memory Limit: Unknown
2/8 - Executing task CheckCronTask (Check that service is started from either cron or from command)
3/8 - Executing task DisabledUserRemovalTask (Purge all the information of a user when disable the analysis.)
yielding
yielding
yielding
yielding
yielding
yielding
yielding
yielding
4/8 - Executing task StaleImagesRemovalTask (Crawl for stale images (either missing in filesystem or under .nomedia) and remove them from DB)
Skipping stale images removal for user user1 as there is no need for it
Skipping stale images removal for user user2 as there is no need for it
Skipping stale images removal for user user3 as there is no need for it
Skipping stale images removal for user user4 as there is no need for it
Skipping stale images removal for user user5 as there is no need for it
Skipping stale images removal for user admin as there is no need for it
Skipping stale images removal for user user6 as there is no need for it
Skipping stale images removal for user user7 as there is no need for it
5/8 - Executing task CreateClustersTask (Create new persons or update existing persons)
Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
* have 1000 faces already processed
* or you need to have 95% of you images processed
Use stats command to track progress
yielding
Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
* have 1000 faces already processed
* or you need to have 95% of you images processed
Use stats command to track progress
yielding
Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
* have 1000 faces already processed
* or you need to have 95% of you images processed
Use stats command to track progress
yielding
Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
* have 1000 faces already processed
* or you need to have 95% of you images processed
Use stats command to track progress
yielding
Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
* have 1000 faces already processed
* or you need to have 95% of you images processed
Use stats command to track progress
yielding
Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
* have 1000 faces already processed
* or you need to have 95% of you images processed
Use stats command to track progress
yielding
Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
* have 1000 faces already processed
* or you need to have 95% of you images processed
Use stats command to track progress
yielding
Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
* have 1000 faces already processed
* or you need to have 95% of you images processed
Use stats command to track progress
yielding
6/8 - Executing task AddMissingImagesTask (Crawl for missing images for each user and insert them in DB)
Skipping full image scan for user user1
Skipping image scan for user user2 that has disabled the analysis
Skipping full image scan for user user3
Skipping image scan for user user4 that has disabled the analysis
Skipping image scan for user user5 that has disabled the analysis
Skipping image scan for user admin that has disabled the analysis
Skipping full image scan for user user6
Skipping image scan for user user7 that has disabled the analysis
7/8 - Executing task EnumerateImagesMissingFacesTask (Find all images which don't have faces generated for them)
yielding
8/8 - Executing task ImageProcessingTask (Process all images to extract faces)
NOTE: Starting face recognition. If you experience random crashes after this point, please look FAQ at https://github.com/matiasdelellis/facerecognition/wiki/FAQ
Error during background task execution
If error is not transient, this means that core component of face recognition is not working properly
and that quantity and quality of detected faces and person will be low or suboptimal.
You probably want to file an issue (please include exception below) to: https://github.com/matiasdelellis/facerecognition/issues
In DlibCnnModel.php line 179:
[Exception]
Unable to open /mnt/nc_data//appdata_oclm6369wrp2/facerecognition/models//1/mmod_human_face_detector.dat for reading.
Exception trace:
at /var/www/html/nextcloud/apps/facerecognition/lib/Model/DlibCnnModel/DlibCnnModel.php:179
CnnFaceDetection->__construct() at /var/www/html/nextcloud/apps/facerecognition/lib/Model/DlibCnnModel/DlibCnnModel.php:179
OCA\FaceRecognition\Model\DlibCnnModel\DlibCnnModel->open() at /var/www/html/nextcloud/apps/facerecognition/lib/BackgroundJob/Tasks/ImageProcessingTask.php:113
OCA\FaceRecognition\BackgroundJob\Tasks\ImageProcessingTask->execute() at /var/www/html/nextcloud/apps/facerecognition/lib/BackgroundJob/BackgroundService.php:137
OCA\FaceRecognition\BackgroundJob\BackgroundService->execute() at /var/www/html/nextcloud/apps/facerecognition/lib/Command/BackgroundCommand.php:171
OCA\FaceRecognition\Command\BackgroundCommand->execute() at /var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at /var/www/html/nextcloud/3rdparty/symfony/console/Application.php:1040
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/nextcloud/3rdparty/symfony/console/Application.php:301
Symfony\Component\Console\Application->doRun() at /var/www/html/nextcloud/3rdparty/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /var/www/html/nextcloud/lib/private/Console/Application.php:211
OC\Console\Application->run() at /var/www/html/nextcloud/console.php:100
require_once() at /var/www/html/nextcloud/occ:11
The text was updated successfully, but these errors were encountered: