Git Product home page Git Product logo

re_identification's Introduction

Re-Identification Pipeline

Introduction

Person Re-Identification can be seen as an image retrieval problem. Given one query image in one camera, the objective is to find the images of the same person in other cameras.

This project is currently in beta release.

Features

Datasets:

Models

Models Comparison

Market1501 (256x128 Image Size)

Method Model mAP Rank-1 Rank-5 Rank-10
TransREID ViT 89.0 95.1 - -
LightMBN OSNet 91.5 96.3 - -
PLR-OSNet OSNet 88.9 95.6 - -

Datasets Preparation

Market1501

The Market1501 dataset contains 1501 different individuals (people) collected from 6 cameras in Tsinghua University.

Train Set: 751 different people, 12936 images Test Set: 750 different people, 3368 query images, 19732 testing images

Dataset Structure:

|__ Market-1501-v15.09.15/
    |__ bounding_box_test/      /* 19732 images for testing
    |__ bounding_box_train/     /* 12936 images for training
    |__ gt_bbox/                /* 25259 images (not use)
    |__ gt_query/               /* 3368 queries (not use)
    |__ query/                  /* 3368 query images (id is searched in "bounding_box_test/" folder)

Each image is named like 0000_c1s1_000151_01.jpg. For Market1501, the image name contains the identity label and camera id. Check the naming rule at here.

Configuration

Create a configuration file in configs/ folder. Sample configuration can be found here. Then edit the fields you think if it is needed. This configuration file is needed for all of training and evaluation scripts.

Training

$ python train.py --cfg configs/CONFIG_FILE_NAME.yaml

Evaluation

$ python val.py --cfg configs/CONFIG_FILE_NAME.yaml

re_identification's People

Contributors

sithu31296 avatar

Watchers

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