GithubHelp home page GithubHelp logo

cvte-research-datamining / aimeetsbeautychallenge Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 16 KB

This is the source code of Perfect Half Million Beauty Product Image Recognition Challenge.

License: MIT License

Python 100.00%

aimeetsbeautychallenge's Introduction

AIMeetsBeautyChallenge

This is the source code of Perfect Half Million Beauty Product Image Recognition Challenge.

Installation

  • Env: python3.6
  • Package:
pytorch 1.1
h5py
faiss
pandas
tensorboardX
tqdm

Get started

  1. train.py
python train.py --model-name resnet152 --dataset /data/dataset/AIMeetsBeauty --epochs 30 --batch-size 64 --lr 0.0001
  1. get_feature.py
python get_feature.py --model-name resnet152 --dataset /data/dataset/AIMeetsBeauty --model-ckpt ./ckpts/resnet152.pkl --output-feature-path ./feature/resnet152.hdf5
  1. predict.py
python predict.py --model-name resnet152 --model-ckpt ./ckpts/resnet152.pkl --feature-path ./feature/resnet152.hdf5 --test-path ./val_2019 --output-result-path ./result/resnet152.csv
  1. evaluation.py
python evaluation.py --prediction-path ./result/predictions.csv --label-path ./val_2019.csv
  1. ensemble_predict.py

Options: Using multiple models to perform ensemble predictions, which need to change the loading path of model checkpoint file and feature hdf5 file.

python ensemble_predict.py --prediction-path ./result/predictions_att.csv --label-path ./val_2019.csv

aimeetsbeautychallenge's People

Contributors

javeywang avatar

Stargazers

Mars avatar  avatar

Watchers

James Cloos avatar

Forkers

lylyhs

aimeetsbeautychallenge's Issues

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.