Viewing a single comment thread. View all comments

RingoCatKeeper OP t1_j295uu0 wrote

I'm using the simple cosine similarity between embedding vectors. There were some optimized work by Google called ScanNN, which is much faster on large scale vector similarity search. However, it's much more complicated to port this model to iOS.

1

hermlon t1_j29a939 wrote

So you go trough all the images each time and compute the cosine similarity between it and the text each time?

1