<div dir="ltr">Hi Maik , <div><br></div><div><br></div><div>Ok, thank you for the explanation. </div><div>However, this is something that will be implemented ? <br>There is any reason for this database not to be migrated?<br><br></div><div>Because took a long time to scan all my photos (+700GBytes) to rebuild and I really don't want to run this again. </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em seg., 14 de ago. de 2023 às 13:47, Maik Qualmann <<a href="mailto:metzpinguin@gmail.com" target="_blank">metzpinguin@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The behavior is normal, the face database and thumbnail database are not <br>
migrated.<br>
Go into the maintenance tool, enable the face detection/recognition section <br>
and check the box to rebuild the training database. Based on all confirmed <br>
faces, the facial recognition database is rebuilt.<br>
<br>
Maik<br>
<br>
Am Montag, 14. August 2023, 15:03:51 CEST schrieb Cesar Inacio Martins:<br>
> Hi,<br>
> <br>
> After a couple of years without using my DK, I finally returned to it.<br>
> <br>
> So, I've upgraded from version 7.4 to 8.1.<br>
> I used the Internal MySQL before because I have ~80k photos.<br>
> Now, to solve an old issue with face recognition, I decided to rerun it<br>
> over all my albums to exclude the faces from all photos and detect all<br>
> again ( not people, yet, only detect faces).<br>
> I've done that using MySQL as a database.<br>
> <br>
> During this process, rereading the manuals, I saw there is an essential<br>
> improvement on sqlite, where it became recommended even for libraries with<br>
> ~100k photos.<br>
> <br>
> When I finished all face recognition, which took ~ 1 week, I migrate my<br>
> database back to sqlite.<br>
> The migration ran fine.<br>
> However, when I set the DK to sqlite and put my albums to now recognize the<br>
> faces, they give the error message : "face recognition is aborted, because<br>
> there are no identities to recognize. Please add new identities"<br>
> <br>
> Then I connected both databases and did a count(*) on tables and see at<br>
> recognition.db, no data was imported.<br>
> I tried this migration twice, one with WAL enabled and the second attempt<br>
> with it disabled.<br>
> <br>
> Is that expected or is it a defect?<br>
> <br>
> <br>
> MySQL<br>
> <br>
> > Settings |count(*)|<br>
> > ------------------+--------+<br>
> > Settings | 20|<br>
> > Identities | 148|<br>
> > IdentityAttributes| 444|<br>
> > FaceMatrices | 14687|<br>
> > KDTree | 0|<br>
> <br>
> SQLite - after migration<br>
> <br>
> > "Settings" |count(*)|<br>
> > ------------------+--------+<br>
> > Settings | 2|<br>
> > Identities | 0|<br>
> > IdentityAttributes| 0|<br>
> > FaceMatrices | 0|<br>
> > KDTree | 0|<br>
<br>
<br>
<br>
<br>
</blockquote></div>