[Feature]: Re-index existing photos with machine learning #306

Closed
opened 2026-02-04 19:32:32 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @dorianim on GitHub (Sep 17, 2022).

Feature detail

I recently got the machine-learning container to work thanks to the guide over here https://github.com/immich-app/immich/discussions/300
.

Now, I'd like all the pictures I added before getting it work to be indexed. This feature might also be helpful in the future, should there ever be changes to the machine learning which require re-indexing.

Platform

Server

Originally created by @dorianim on GitHub (Sep 17, 2022). ### Feature detail I recently got the machine-learning container to work thanks to the guide over here https://github.com/immich-app/immich/discussions/300 . Now, I'd like all the pictures I added before getting it work to be indexed. This feature might also be helpful in the future, should there ever be changes to the machine learning which require re-indexing. ### Platform Server
Author
Owner

@dorianim commented on GitHub (Oct 8, 2022):

This works now since https://github.com/immich-app/immich/releases/tag/v1.31.0_49-dev

@dorianim commented on GitHub (Oct 8, 2022): This works now since https://github.com/immich-app/immich/releases/tag/v1.31.0_49-dev
Author
Owner

@dorianim commented on GitHub (Oct 8, 2022):

Oh no, nevermind. This only works for photos which have not yet been indexed...

@dorianim commented on GitHub (Oct 8, 2022): Oh no, nevermind. This only works for photos which have not yet been indexed...
Author
Owner

@alextran1502 commented on GitHub (Oct 8, 2022):

Oh no, nevermind. This only works for photos which have not yet been indexed...

And it should solve this issue, shouldn't it?

@alextran1502 commented on GitHub (Oct 8, 2022): > Oh no, nevermind. This only works for photos which have not yet been indexed... And it should solve this issue, shouldn't it?
Author
Owner

@dorianim commented on GitHub (Oct 8, 2022):

It solves the original problem, yes. But it does not re-index all photos (as in the title). It only indexes non-indexed photos.

@dorianim commented on GitHub (Oct 8, 2022): It solves the original problem, yes. But it does not re-index all photos (as in the title). It only indexes non-indexed photos.
Author
Owner

@alextran1502 commented on GitHub (Oct 8, 2022):

Why would we need to re-indexing all the photos for machine learning if it has been indexed? I assume it only apply to the scenario where you change the model?

@alextran1502 commented on GitHub (Oct 8, 2022): Why would we need to re-indexing all the photos for machine learning if it has been indexed? I assume it only apply to the scenario where you change the model?
Author
Owner

@dorianim commented on GitHub (Oct 8, 2022):

Yes, a change in the model is the only use case. You may close this issue, if you are sure the model will never change, but if it will, this will be very good to have. It doesn't have to be so complicated, could just delete all machine learning results before starting the currently implemented mechanism.

@dorianim commented on GitHub (Oct 8, 2022): Yes, a change in the model is the only use case. You may close this issue, if you are sure the model will never change, but if it will, this will be very good to have. It doesn't have to be so complicated, could just delete all machine learning results before starting the currently implemented mechanism.
Author
Owner

@alextran1502 commented on GitHub (Oct 8, 2022):

@dorianim Got it, this will be helpful for that when it happens then. I will leave this open as we are having a contributor working on facial recognition which will need to reindex the whole library.

Thank you for making it clear

@alextran1502 commented on GitHub (Oct 8, 2022): @dorianim Got it, this will be helpful for that when it happens then. I will leave this open as we are having a contributor working on facial recognition which will need to reindex the whole library. Thank you for making it clear
Author
Owner

@alextran1502 commented on GitHub (Dec 23, 2022):

Implemented with the Job page

@alextran1502 commented on GitHub (Dec 23, 2022): Implemented with the Job page
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#306