mazzzystar/Queryable

[Feature Request] Export calculated embeddings from the app

tddschn opened this issue · 2 comments

Thanks for making the app!

I'd like to get the CLIP embeddings for all my photos in iCloud, and it would be really convenient if the app supports exporting calculated embeddings and would save me a lot of time and compute, and it will allow users to explore their photos' semantics in alternative ways.

Would you consider adding this feature?

Hi, the embeddings have already been calculated and saved in the embeddingData file. The code below shows the path and how to load it, and you could print it to see the absolute path.

if self.loadEmbeddingsData(fileName: self.EMBEDDING_DATA_NAME) {
print("Photos embedding loaded. total \(self.savedEmbedding.count)")
} else {

Thank you for your reply! I'm not an iOS developer and I'm not sure if it's possible to access app's private data in document dir without doing an unencrypted backup with a Mac. I guess I'll try running embeddings models on my own.