Downloads · 30 days
0
sksayril/testing-2-kitpot
testing-2-kitpot is a machine learning model from sksayril. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains code for an image retrieval system built using ResNet50, a pre-trained convolutional neural network, and Nearest Neighbors algorithm to find similar images based on feature embeddings.
Downloads · 30 days
0
Access
Public
Updated Jan 31, 2024
Repo size
122 MB
Likes
0
Public
Click a slice to open those files.
.pkl122 MB · 99%
From the Hugging Face model README
This repository contains code for an image retrieval system built using ResNet50, a pre-trained convolutional neural network, and Nearest Neighbors algorithm to find similar images based on feature embeddings.
The system leverages ResNet50, a powerful deep learning model pre-trained on ImageNet, for extracting image features. These features are stored as embeddings in a pickle file, along with associated filenames.
app.py: Python script implementing the image retrieval system.res_vector_embeddings: Pickle file containing feature embeddings of images.filenames.pkl: Pickle file storing filenames corresponding to the image embeddings.You can install the dependencies via:
Requirements installation
pip install -r requirements.txt
Run the Model
python app.py