I noticed that one part of the background job takes 50 minutes. Concluded that it is is the ResolveFaceCollisions loop that consumes 100% of one CPU core for 50 minutes on my raspberry pi 4. With the default 15 min background jobs interval, 100% of one core is almost constantly working. I have 2093 rows in the "faces" table. I've done a lot of manually tagging of not matched faces figured that it might improve the algorithm over time.
Tried to run the faces optimize command but no improvement.
Looked at the code and found that the faces optimize code doesn't seem to work due to a ":" at this line.
|
} else if n := len(faces) - 1; n < 1 { |
I noticed that one part of the background job takes 50 minutes. Concluded that it is is the ResolveFaceCollisions loop that consumes 100% of one CPU core for 50 minutes on my raspberry pi 4. With the default 15 min background jobs interval, 100% of one core is almost constantly working. I have 2093 rows in the "faces" table. I've done a lot of manually tagging of not matched faces figured that it might improve the algorithm over time.
Tried to run the
faces optimizecommand but no improvement.Looked at the code and found that the faces optimize code doesn't seem to work due to a ":" at this line.
photoprism/internal/photoprism/faces_optimize.go
Line 32 in a9a3746