lintujuh Posted December 27, 2021 Report Posted December 27, 2021 I think my face recognition is somehow corrupted as I get errors duplicate key value violates unique constraint "people_file_pkey" What I need to do to restart from scratch? I don't want to delete the People tags as @rene in Which tables should I clean and are there some cache files that should be deleted? Quote
Oleg.Ross Posted December 27, 2021 Report Posted December 27, 2021 Hello, can you get to me in more detail about what happened? Did you delete people tags and try to add person with same name? Why do you need to restart all? Quote
lintujuh Posted December 27, 2021 Author Report Posted December 27, 2021 I noticed same face thumbnails reappearing in the tagging window. When I checked the logs I saw several duplicate key errors. I had started face recognition with Postgres 9.6 and after that I upgraded to Postgres 12, but at the same time I also my catalog name. I suspect that this has caused some inconsistencies and that's why I thought it would be better to restart from an "emtpy table". Quote
Oleg.Ross Posted December 29, 2021 Report Posted December 29, 2021 Please, make a backup before doing this operation. Postgres query: [11/6/2024. Deprecated,don't use it ] drop table faces; drop table similarclusters; drop table persons; drop table predictions; delete from processedfaces; Quote
lintujuh Posted December 31, 2021 Author Report Posted December 31, 2021 Thank you @Oleg.Ross. I have tested this now few days and it looks it solved my problems. Happy New Year! 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.