[mob] constant increments in bucket clustering
This commit is contained in:
parent
f5ea834fad
commit
7f66bd2ed0
|
@ -419,11 +419,7 @@ class FaceMlService {
|
||||||
|
|
||||||
await FaceMLDataDB.instance
|
await FaceMLDataDB.instance
|
||||||
.updatePersonIDForFaceIDIFNotSet(faceIdToCluster);
|
.updatePersonIDForFaceIDIFNotSet(faceIdToCluster);
|
||||||
if (offset == 0) {
|
|
||||||
offset += offsetIncrement;
|
offset += offsetIncrement;
|
||||||
} else {
|
|
||||||
offset += bucketSize;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Read all the embeddings from the database, in a map from faceID to embedding
|
// Read all the embeddings from the database, in a map from faceID to embedding
|
||||||
|
|
Loading…
Reference in a new issue