Bug 504210 - Trying to re-learn face recognition model prior downloading the CV model
Summary: Trying to re-learn face recognition model prior downloading the CV model
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-FirstRun (other bugs)
Version First Reported In: 8.6.0
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-14 12:48 UTC by Michał Byrecki
Modified: 2025-06-25 06:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Byrecki 2025-05-14 12:48:48 UTC
I've been using digikam from Debian's package (old version) and made a decision to download latest app image.
On the first run it throw a message, that the AI CV face recognition data is outdated and the model needs to be re-learned, asking to initiate the process.
I've confirmed, but since the newer model has not been yet downloaded, it crashed:

Digikam::DNNFaceDetectorYuNet::loadModels: Face detection model: YuNet not loaded
Digikam::DNNFaceDetectorYuNet::DNNFaceDetectorYuNet: Failed to load YuNet model
terminate called after throwing an instance of 'QUnhandledException'
  what():  std::exception

So, before prompting for re-learning the model, the newer model has to be downloaded first.
Comment 1 caulier.gilles 2025-05-14 13:01:55 UTC
I think this problem have been already reported and fixed in current 8.7.0 pre-release available here :

https://files.kde.org/digikam/
Comment 2 Michał Byrecki 2025-05-14 13:07:53 UTC
(In reply to caulier.gilles from comment #1)
> I think this problem have been already reported and fixed in current 8.7.0
> pre-release available here :
> 
> https://files.kde.org/digikam/
Ah, I haven't been using pre-release, but 8.6.0. If the problem has been already addressed the bug can be closed.