All Projects → L1aoXingyu → reid_baseline_gluon

L1aoXingyu / reid_baseline_gluon

Licence: other
SOTA results for reid baseline model (Gluon implementation)

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to reid baseline gluon

gluon-faster-rcnn
Faster R-CNN implementation with MXNet Gluon API
Stars: ✭ 31 (+121.43%)
Mutual labels:  gluon
lipnet
LipNet with gluon
Stars: ✭ 16 (+14.29%)
Mutual labels:  gluon
Ranked Person ReID
Person reID
Stars: ✭ 91 (+550%)
Mutual labels:  reid
ResidualAttentionNetwork
A Gluon implement of Residual Attention Network. Best acc on cifar10-97.78%.
Stars: ✭ 104 (+642.86%)
Mutual labels:  gluon
CM-NAS
CM-NAS: Cross-Modality Neural Architecture Search for Visible-Infrared Person Re-Identification (ICCV2021)
Stars: ✭ 39 (+178.57%)
Mutual labels:  reid
gluon2pytorch
Gluon to PyTorch deep neural network model converter
Stars: ✭ 72 (+414.29%)
Mutual labels:  gluon
Einops
Deep learning operations reinvented (for pytorch, tensorflow, jax and others)
Stars: ✭ 4,022 (+28628.57%)
Mutual labels:  gluon
baidu-salers-logo-prediction
baidu contest, url: http://dianshi.baidu.com/gemstone/competitions/detail?raceId=17
Stars: ✭ 16 (+14.29%)
Mutual labels:  gluon
Dog-Breed-Identification-Gluon
Kaggle 120种狗分类,Gluon实现
Stars: ✭ 45 (+221.43%)
Mutual labels:  gluon
OpSummary.MXNet
A tool to count operators and parameters of your MXNet-Gluon model.
Stars: ✭ 19 (+35.71%)
Mutual labels:  gluon
CycleGAN-gluon-mxnet
this repo attemps to reproduce Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks(CycleGAN) use gluon reimplementation
Stars: ✭ 31 (+121.43%)
Mutual labels:  gluon
capture reid
可基于摄像头实时监控或录制的视频或静态图片进行行人检测(lffd)/跟踪(deep sort)和行人重识别(reid)。
Stars: ✭ 87 (+521.43%)
Mutual labels:  reid
hellocalc
HelloCalc is a programable calculator for Android created with JavaFX.
Stars: ✭ 23 (+64.29%)
Mutual labels:  gluon
understand videobased reid
关于video_reid代码的注释,原始代码地址
Stars: ✭ 50 (+257.14%)
Mutual labels:  reid
AAAI 2019 EXAM
Official implementation of "Explicit Interaction Model towards Text Classification"
Stars: ✭ 68 (+385.71%)
Mutual labels:  gluon
triplet-reid-pytorch
My implementation of the paper [In Defense of the Triplet Loss for Person Re-Identification]
Stars: ✭ 95 (+578.57%)
Mutual labels:  reid
python cv AI ML
用python做计算机视觉,人工智能,机器学习,深度学习等
Stars: ✭ 73 (+421.43%)
Mutual labels:  gluon
model-zoo-old
The ONNX Model Zoo is a collection of pre-trained models for state of the art models in deep learning, available in the ONNX format
Stars: ✭ 38 (+171.43%)
Mutual labels:  gluon
NER BiLSTM CRF Chinese
BiLSTM_CRF中文实体命名识别
Stars: ✭ 46 (+228.57%)
Mutual labels:  gluon
crnn.gluon
A gluon re-implementation of Convolutional recurrent network in gluon
Stars: ✭ 21 (+50%)
Mutual labels:  gluon

ReID_baseline

Baseline model (with bottleneck) for person ReID (using softmax and triplet loss).

We support

  • multi-GPU training
  • easy dataset preparation
  • end-to-end training and evaluation

Get Started

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

  2. Run git clone https://github.com/L1aoXingyu/reid_baseline_gluon.git

  3. Install dependencies:

    pip install --pre mxnet-cu90
    
    • tensorflow (for tensorboard)
    • MXBoard
  4. Prepare dataset

    Create a directory to store reid datasets under this repo via

    cd reid_baseline
    mkdir data
    1. Download dataset to data/ from http://www.liangzheng.org/Project/project_reid.html
    2. Extract dataset and rename to market1501. The data structure would like:
    market1501/
        bounding_box_test/
        bounding_box_train/
    
  5. Prepare pretrained model if you don't have

    from mxnet import gluon
    gluon.model_zoo.vision.resnet50_v1(pretrained=True)

    Then it will automatically download model in ~.mxnet/models/, you should set this path in config.py

Train

You can run

bash scripts/train_triplet_softmax.sh

in reid_baseline folder if you want to train with softmax and triplet loss. You can find others train scripts in scripts.

Results

loss rank1 map
softmax 87.1% 67.8%
triplet 88.2% 73.7%
triplet + softmax 90.4% 76.4%

I find the mxnet.gluon results are a little bit lower than pytorch results, and I cannot get the reason. I would appreciate that if anyone can help me.

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].