| Summary: | Faces engine hangs and crashes | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Mathieu <mathieu.blum> |
| Component: | Faces-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 6.0.0 | |
| Sentry Crash Report: | |||
|
Description
Mathieu
2018-01-06 10:13:58 UTC
I think the cause is clear. We save a histogram for each detected face. So if a person is assigned the name 1000x, we have 1000 histograms of that person in the DB alone. That's just too much. Here, the number of histograms per person must be limited. We will have to test out what number still makes sense and ignore other histograms or update old ones. Maik yes i agree that histogram must be limited in DB. But this is true for LBPH recognition algorithm which is the current one. What's the stability of new recognition algorithms introduced in 6.0.0 branch, as EigenFace, FisherFace, and DNN. The last one is completly different of all other as it's based on Deep Neural Network. This must be tested on a huge collection. Gilles Caulier Maik, I just tested with DNN recognition algorithm, after to remove recognition.db. The file is initialized, but nothing is stored in this DB with neural network. Gilles Can you reproduce the dysfunction using digiKam 6.0.0 pre-release bundle available here : https://files.kde.org/digikam/ Gilles Caulier Hi, Okay, i will try next week. Just to be sure: if I do a backup recognition.dd, digikam4.db and thumbnails-digikam.db, would I be able to come back to my current version ? Mathieu yes it is. In all case, always do a backup of your database before to test with a beta version. Gilles Caulier Hi, I performed some tests with beta version 6.0.0.0 and it seems to work now. Used memory does not increase anymore and Digikam does not crash. Thanks ! |