Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using LPIPS metric for image retrieval #22

Closed
woctezuma opened this issue Apr 8, 2019 · 1 comment
Closed

Using LPIPS metric for image retrieval #22

woctezuma opened this issue Apr 8, 2019 · 1 comment

Comments

@woctezuma
Copy link

woctezuma commented Apr 8, 2019

I understand that the model takes as input two images, by design. I would like to know if there is a smart way to use LPIPS metric for image retrieval, other than computing all the pairwise distances.

For information, my dataset of game banners contains about 30k images. In my previous experiments, I extracted image features once, and could then work with this processed data using standard tools for efficient similarity search based on cosine similarity, Minkowski distance, etc.

Thank your for your attention.

@richzhang
Copy link
Owner

You could save off all the intermediate features (scaled by the learned linear weights), and then use this embedding for retrieval, but it will be very memory expensive. Finding a low-dimensional embedding, consistent with LPIPS distance, would be useful research for this application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants