recognize icon indicating copy to clipboard operation
recognize copied to clipboard

Sorting not working with empty clusters

Open andypmuc opened this issue 1 year ago • 1 comments

Which version of recognize are you using?

5.0.3

Enabled Modes

Object recognition, Face recognition

TensorFlow mode

Normal mode

Downstream App

Photos App

Which Nextcloud version do you have installed?

27.1.5

Which Operating system do you have installed?

Ubuntu 22.04

Which database are you running Nextcloud on?

Maria DB?

Which Docker container are you using to run Nextcloud? (if applicable)

No response

How much RAM does your server have?

12 GB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

When a face cluster is empty, this can happen, when the photos are deleted in the background and files update job was running or due to an error in the recognize ab, all photos have been moved to a different person etc. The sorting is somewhat strange and not according to the amount of pictures.

Expected Behavior

Sort always by amount of pictures or something else, like given name

To Reproduce

Cannot provide that, as this can happen in several ways.

Debug log

Cannot provide it, and it should be not important to work on that topic. Just delete all pics in the database of one cluster and then you should see it.

andypmuc avatar Jan 07 '24 16:01 andypmuc

Hello :wave:

Thank you for taking the time to open this issue with recognize. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. I try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself. (Also see our Code of Conduct. Really.)

I look forward to working with you on this issue Cheers :blue_heart:

github-actions[bot] avatar Jan 07 '24 16:01 github-actions[bot]

I cannot reproduce this. What I did:

  1. Load photos and let it cluster them
  2. Give a cluster a name
  3. Delete all photos from that cluster via the files app
  4. Load the faces overview

Result: everything is fine.

marcelklehr avatar May 08 '24 11:05 marcelklehr