GithubHelp home page GithubHelp logo

abisheksriram11 / myntra_hackerramp_contest_phase1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hematejaaluru/myntra_hackerramp_contest_phase1

0.0 0.0 0.0 6.47 MB

This is for Myntra Hackerramp Contest 2021

Python 0.49% Jupyter Notebook 99.51%

myntra_hackerramp_contest_phase1's Introduction

Beauty Virtual Makeup Tryon:

Environment:

Python 3.6

Tensorflow 1.x

Prerequisites:

  1. Download the trained BeautyGAN model weights from this link : https://drive.google.com/drive/folders/1J8vjyjaikPAXF9ln-2zvT8xkbM4c7QyM?usp=sharing and make sure you are logged in into your google account

  2. Place these weights in "/BeautyGan/BeautyGAN/model" folder (You have to create the folder)

Usage:

You can use the driver code given in the Myntra_Virtual_Makeup_Tryon.ipynb

Credits:

This code is the implementation of this paper BeautyGAN: http://colalab.org/media/paper/BeautyGAN-camera-ready.pdf

There is no opensource code for this paper But there is a github repo : https://github.com/Honlan/BeautyGAN

This code has been taken from the specified repo.

Implementation:

We have tried using SCGAN,PSGAN and BeautyGAN. But, BeautyGAN gave us consistent results among all of them. We can see that BeautyGAN is giving promising results.But, Sometimes the color of the product is being changed in the output.

Alt text

Alt text

Future Work:

We can use BiSeNet which segments the output and input images. Then we can copy and paste the parts of input image on to the output image which should not be changed by the model.

Beauty Recommendation System:

Environment:

Python 3.6

Tensorflow 2.x

Transformers latest version

Prerequisites:

  1. Download the trained Sentiment Analysis model weights from this link : https://drive.google.com/file/d/1Nc7-IY62dFMtJLb117aZ9gZoEMnS-qNM/view?usp=sharing and make sure you are logged in into your google account

  2. Place these weights in "/Beauty_Recommendation/Sentiment_Analysis_Weights" folder (You have to create the folder)

Credits:

This implementation is purely done by us and we also used simple custom formula to take reviews,rating and also similarity into consideration

Usage:

You can use the code given in the Myntra_Beauty_Product_Recommendation_System.ipynb

Implementation:

We have used the T-distributed Stochastic Neighbor Embedding (t-SNE) for reducing the higher dimensional data of products and ingredients to lower dimensional (2D). We have then taken top 10-20 products which are closer to the required ingredients product(this will be prescribed by expert). Then we have used Sentiment Analysis to analyse the reviews of each product and will be giving a Critical Score which contanis SimilarityScore,Rating,ConfidenceScore of Sentiment Analysis.

Using this Critical Score we will be sorting the products and these are the final outputs.

Formula we used: CriticalScore = ConfidenceScore x 10000 + ((Rating x 1000)-(Similarity x 1000))

Here: ConfidenceScore - Probability of SentimentClassifier - Whether the sentence is Positive or Negative

Here: Rating - Overall Rating of product in the website (between 0 and 5)

Here: Similarity - Distance between this product and reference product

Alt text

myntra_hackerramp_contest_phase1's People

Contributors

hematejaaluru avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.