I’m finding the suggested labels based on embedding similarity very useful, but with 200,000 photos and ~460,000 detections and I want to increase the limit of using 20,000 photos at a time to calculate embedding similarity to something a bit higher.
Is there a way to raise this limit? I can’t seem to find an option in the settings. Is there a hidden config file I can edit manually?
I imported folders into my project based on years (with sites within them which were not recognized by Addax AI), so I can’t subset and calculate embeddings based on sites or any smaller subset of the data.
Thank you!
Hi @maxfarrell,
There is no hidden setting for this, the 20,000 was fixed in the code. But I have raised it. In the next version, later this week, the suggestions look at the newest 100,000 detections that match your filters.
Some background on why there was a limit. The similarity sort and the suggestions both used the same 20,000. The sort puts every crop next to its closest look-alike, one by one, and that gets slow . On my Mac it takes about 8 secods for 20,000 crops and almost 4 minutes for 100,000. So the sort stays at 20,000. The suggestions work different. They only compare each crop with its 10 closest look-alikes, and they do that in one go. 100,000 crops takes about 12 seconds and around 600 MB of RAM. So that one could go up. I didn’t go higher becaue at 460,000 it would need about 2 GB of RAM, and on an older laptop that gets too slow. With 460,000 detections the 100,000 still not covers everything. So work per year with the Daterange filter on the Labels page. Your folders are years, so one year probably fits in the 100,000.
About the sites. On the Deployments page (if your working in projects mode) you can open a deployment and click Split. It splits the deployment along its subfolders, so you get one deployment per site folder. then you set the site in Edit deployment and the Sites filter on the Labels page works too
Let me know how it works when you have updated!
Cheers,
Peter