jakowenko / double-take

Unified UI and API for processing and training images for facial recognition.
https://hub.docker.com/r/jakowenko/double-take
MIT License
1.23k stars 98 forks source link

[BUG] #281

Open lordratner opened 1 year ago

lordratner commented 1 year ago

Describe the bug Can't delete training photos

Version of Double Take 1.13.1

Expected behavior Selecting one or more photos and clicking the trash can should remove them from the person's training photos. Instead the page refreshes and the photo(s) is still there

Hardware

Additional context So there are two things here going wrong. The first is that I had Deepstack then got rid of it. However the training photos from that are still there, still show deepstack, and can not be trashed or untrained. So maybe double-take should remove all photos associated with a detector when the detector is removed. Or at least I should be able to do it manually.

Second, for a functioning detector, I can untrain a photo using the trashcan button "Trash" but it does not remove the photo. In fact Nothing removes photos unless I manually delete them from the directories and restart double-take.

Photos can be deleted from the Matches page. But they can't from the Train page. And photos deleted from the Matches page remain on the Train page. That makes sense until I want to remove them from the Train page, which seems impossible at this point.

Thanks!

lordratner commented 1 year ago

And to make matter stranger, this is only affecting a single person/folder. I can delete photos from my own folder, but my wife's are stuck.

lordratner commented 1 year ago

Nothin is logged when I try to delete the photos, it just won't delete.