MsJacksonIYN / Mod5_FashionRecommendations

Final Project - Fashion Recommendation System
32 stars 11 forks source link

Mod5: Fashion Recommendations

A standalone HTTP web server that can recommend similar fashion outfits, based on the the Rent the Runway inventory.

Uses multiple neural networks (with a ResNet50 backbone) behind the scenes to classify inputs by {category, texture, fabric, parts, shape}. The resulting embeddings are then used to query a pre-built nearest neighbors index for similar outputs.

To try the recommendation system without cloning the repo, see this live demo

Installation

Use pip to install the requirements.

pip install -r requirements.txt

Usage

To run the web server, simply execute flask with the main recommender app:

FLASK_APP=recommender_app flask run

The main predictor can also be used independently of Flask, by calling get_recs:

from predict import Predict

fashion = Predict()
recs = fashion.get_recs(img_path)

Built With

Files

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT