Downloads · 30 days
0
ShushanSS/DeepFashionRetrieval
DeepFashionRetrieval is a machine learning model from ShushanSS. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
https://github.com/ShushanSS/TopKSimilarImagesRetrieval
Downloads · 30 days
0
Access
Public
Updated Aug 8, 2026
Repo size
284 MB
Likes
1
Public
Click a slice to open those files.
.pt284 MB · 100%
From the Hugging Face model README
https://github.com/ShushanSS/TopK_Similar_Images_Retrieval
Fine-tuned ResNet50 image embedder for fashion item retrieval, trained with batch-hard triplet loss and a category-aware PK sampler on the DeepFashion In-shop Clothes Retrieval dataset.
| File | Description |
|---|---|
embedder_full_train_epoch_6.pt | Fine-tuned ResNet50 weights (epoch 6) |
faiss_index.bin | FAISS index built over embedded gallery images (if included) |
metadata.json / config.json | Embedding dim, class list, preprocessing params (if included) |
pip install -r requirements.txt
python download_weights.py
This downloads the files above into ./weights in your project root.
The metadata CSVs are not included in this repo since they're derived from the raw DeepFashion images, which you need to download separately.
DATASET_PATH in prepare_metadata.py to point to your local copy,
preserving the original folder structure:
<DATASET_PATH>/<gender>/<clothing_category>/<item_id>/<image>.jpg
python prepare_metadata.py
This produces original_metadata.csv, full_metadata.csv, and
original_metadata_filtered.csv in your working directory.from huggingface_hub import snapshot_download
snapshot_download(
repo_id="ShushanSS/DeepFashionRetrieval",
local_dir="./weights",
local_dir_use_symlinks=False,
)
MIT (update if different)