Coder Social home page Coder Social logo

isbecky27 / smiletrack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wwangyuhsiang/smiletrack

0.0 0.0 0.0 51.02 MB

Shell 0.01% C++ 0.34% Python 5.88% Makefile 0.01% QMake 0.01% CMake 0.02% Jupyter Notebook 93.70% Cython 0.03% Dockerfile 0.01%

smiletrack's Introduction

SMILEtrack

PWC

PWC

This code is based on the implementation of ByteTrack, BoT-SORT

SMILEtrack: SiMIlarity LEarning for Multiple Object Tracking

Preprint will be appearing soon

1. Installation

SMILEtrack code is based on ByteTrack and BoT-SORT

Visit their installation guides for more setup options.

2. Download

PRBNet MOT17 weight link

PRBNet MOT20 weight link

SLM weight link

3.Data Preparation

Download MOT17 from the official website. And put them in the following structure:

<dataets_dir>
      │
      ├── MOT17
      │      ├── train
      │      └── test    
      └——————crowdhuman
      |         └——————Crowdhuman_train
      |         └——————Crowdhuman_val
      |         └——————annotation_train.odgt
      |         └——————annotation_val.odgt
      └——————MOT20
      |        └——————train       
      |        └——————test
      └——————Cityscapes
               └——————images
               └——————labels_with_ids
    

4.Training PRBNet

Single GPU training

cd <prb_dir>
$ python train_aux.py --workers 8 --device 0 --batch-size 4 --data data/mot.yaml --img 1280 1280 --cfg cfg/training/PRB_Series/yolov7-PRB-2PY-e6e-tune-auxpy1.yaml --weights './yolov7-prb-2py-e6e.pt' --name yolov7-prb --hyp data/hyp.scratch.p6.yaml --epochs 100

5.Training SLM

Data structure

<dataets_dir>
    ├─A
    ├─B
    ├─label
    └─list
    

A: images of t1 phase;

B: images of t2 phase;

label: label maps;

list: contains train.txt, val.txt and test.txt, each file records the image names (XXX.png) in the change detection dataset.

For the more detail of the training setting, you can follow BIT_CD training code.

6.Tracking

By submitting the txt files produced in this part to MOTChallenge website and you can get the same results as in the paper. Tuning the tracking parameters carefully could lead to higher performance. In the paper we apply ByteTrack's calibration.

Track by detector YOLOX

cd <BoT-SORT_dir>
$ python3 tools/track.py <dataets_dir/MOT17> --default-parameters --with-reid --benchmark "MOT17" --eval "test" --fp16 --fuse
$ python3 tools/interpolation.py --txt_path <path_to_track_result>

Track by detector PRBNet

cd <BoT-SORT_dir>
$ python3 tools/track_prb.py <dataets_dir/MOT17> --default-parameters --with-reid --benchmark "MOT17" --eval "test" --fp16 --fuse
$ python3 tools/interpolation.py --txt_path <path_to_track_result>

7.Tracking performance

Results on MOT17 challenge test set

Tracker MOTA IDF1 HOTA
SMILEtrack 81.06 80.5 65.28

Results on MOT20 challenge test set

Tracker MOTA IDF1 HOTA
SMILEtrack 78.19 77.53 65.28

8.Acknowledgement

A large part of the codes, ideas and results are borrowed from PRBNet, ByteTrack, BoT-SORT, yolov7, thanks for their excellent work!

smiletrack's People

Contributors

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