All Projects → lulujianjie → Person Reid Tiny Baseline

lulujianjie / Person Reid Tiny Baseline

Licence: mit
Open source person re-identification in Pytorch

Projects that are alternatives of or similar to Person Reid Tiny Baseline

Covid19 inference forecast
Stars: ✭ 148 (-1.33%)
Mutual labels:  jupyter-notebook
Forecasting
Time Series Forecasting Best Practices & Examples
Stars: ✭ 2,123 (+1315.33%)
Mutual labels:  jupyter-notebook
Pyomogallery
A collection of Pyomo examples
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Covid19
Analyses about the COVID-19 virus
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Project kojak
Training a Neural Network to Detect Gestures and Control Smart Home Devices with OpenCV in Python
Stars: ✭ 147 (-2%)
Mutual labels:  jupyter-notebook
Pytorch Tutorials Kr
🇰🇷PyTorch에서 제공하는 튜토리얼의 한국어 번역을 위한 저장소입니다. (Translate PyTorch tutorials in Korean🇰🇷)
Stars: ✭ 148 (-1.33%)
Mutual labels:  jupyter-notebook
Refer
Referring Expression Datasets API
Stars: ✭ 148 (-1.33%)
Mutual labels:  jupyter-notebook
Transformers Ru
A list of pretrained Transformer models for the Russian language.
Stars: ✭ 150 (+0%)
Mutual labels:  jupyter-notebook
Machine Learning
🌎 machine learning tutorials (mainly in Python3)
Stars: ✭ 1,924 (+1182.67%)
Mutual labels:  jupyter-notebook
Carnd Mercedes Sf Utilities
Tools for Sensor Fusion processing.
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Practicaldl
A Practical Guide to Deep Learning with TensorFlow 2.0 and Keras materials for Frontend Masters course
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Predicting Stock Prices With Linear Regression
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Deeplab v2
基于v2版本的deeplab,使用VGG16模型,在VOC2012,Pascal-context,NYU-v2等多个数据集上进行训练
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Covid 19 Eda Tutorial
This tutorial's purpose is to introduce people to the [2019 Novel Coronavirus COVID-19 (2019-nCoV) Data Repository by Johns Hopkins CSSE](https://github.com/CSSEGISandData/COVID-19) and how to explore it using some foundational packages in the Scientific Python Data Science stack.
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Www old.julialang.org
Julia Project web site (Old)
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Cpndet
Corner Proposal Network for Anchor-free, Two-stage Object Detection
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Machine Learning
python,机器学习笔记,machine learning,nlp
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Time Series Forecasting Of Amazon Stock Prices Using Neural Networks Lstm And Gan
Project analyzes Amazon Stock data using Python. Feature Extraction is performed and ARIMA and Fourier series models are made. LSTM is used with multiple features to predict stock prices and then sentimental analysis is performed using news and reddit sentiments. GANs are used to predict stock data too where Amazon data is taken from an API as Generator and CNNs are used as discriminator.
Stars: ✭ 150 (+0%)
Mutual labels:  jupyter-notebook
Testovoe
Home assignments for data science positions
Stars: ✭ 149 (-0.67%)
Mutual labels:  jupyter-notebook
Phonetic Similarity Vectors
Source code to accompany my paper "Poetic sound similarity vectors using phonetic features"
Stars: ✭ 148 (-1.33%)
Mutual labels:  jupyter-notebook

Tiny Person ReID Baseline

Paper: "Bag of Tricks and A Strong Baseline for Deep Person Re-identification"[pdf]

This project refers the official code link and can reproduce the results as good as it on Market1501 when the input size is set to 256x128. If you find this project useful, please cite the offical paper.

@inproceedings{luo2019bag,
  title={Bag of Tricks and A Strong Baseline for Deep Person Re-identification},
  author={Luo, Hao and Gu, Youzhi and Liao, Xingyu and Lai, Shenqi and Jiang, Wei},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops},
  year={2019}
}

Updates (Difference from Official Code)

  • v0.1.2 (Feb. 2020)
    • Support Harder Example Mining, which achieve better performance. See docs for details.
    • Support visualizing augmented data
    • Support flipped features
    • Support search best parameters for reranking
  • v0.1.1 (Sep. 2019)
    • Support ArcFace loss
    • Support visualizing reID results
    • Add comments in config.py
  • v0.1.0 (Jun. 2019)
    • Develop based on the pytorch template
    • No need to install ignite and yacs
    • Support computing distance using cosine similarity
    • Set hyperparameters using a configuration class
    • Only support ResNet50 as the backbone

Directory layout

.
├── config                  # hyperparameters settings
│   └── ...                 
├── datasets                # data loader
│   └── ...           
├── log                     # log and model weights             
├── loss                    # loss function code
│   └── ...   
├── model                   # model
│   └── ...  
├── processor               # training and testing procedures
│   └── ...    
├── solver                  # optimization code
│   └── ...   
├── tools                   # tools
│   └── ...
├── utils                   # metrics code
│   └── ...
├── train.py                # train code 
├── test.py                 # test code 
├── get_vis_result.py       # get visualized results 
├── docs                    # docs for readme              
└── README.md

Pipeline

Pretrained Model

The pretrained (128x64) model can be downloaded now. Extraction code is u3q5.

Get Started

  1. cd to folder where you want to download this repo

  2. Run git clone https://github.com/lulujianjie/person-reid-tiny-baseline.git

  3. Install dependencies:

Train

python train.py

Test

python test.py

To get visualized reID results, first create results folder in log dir, then:

python ./tools/get_vis_result.py

You will get the ranked results (query|rank1|rank2|...), like:

Results

model method mAP Rank1
resnet50 triplet loss + softmax + center loss (B1) 85.8 94.1
resnet50 B1 + flipped feature 86.3 93.9
resnet50 B1 + Harder Example Mining 86.2 94.4
resnet50 B1 + flipped feature + Harder Example Mining 86.6 94.6
resnet50 B1 + Harder Example Mining + reranking 94.1 95.6
resnet50 B1 + Harder Example Mining + searched reranking 94.2 95.8
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].