Code Monkey home page Code Monkey logo

siamcorners's Introduction

SiamCorners

This is an official implemention for โ€œSiamCorners: Siamese Corner Networks for VisualTrackingโ€. The code are available here now.

image The overview of our SiamCorners architecture, which includes the Siamese feature extractor followed by the top-left corner and bottom-right corner branches in parallel.

Dependencies

  • Python 3.7
  • PyTorch 1.0.0
  • numpy
  • CUDA 10
  • skimage
  • matplotlib
  • GCC 4.9.2 or above

Prepare training dataset

Prepare training dataset, detailed preparations are listed in training_dataset directory.

Compiling Corner Pooling Layers

Compile the C++ implementation of the corner pooling layers. (GCC4.9.2 or above is required.)

cd <SiamCorners dir>/pysot/models/corners/py_utils/_cpools
python setup.py install --user

Compiling NMS

Compile the NMS code which are originally from Faster R-CNN and Soft-NMS.

cd <SiamCorners dir>/pysot/tracker/external
make

Training:

CUDA_VISIBLE_DEVICES=0,1
python -m torch.distributed.launch \
    --nproc_per_node=2 \
    --master_port=2333 \
    ../../tools/train.py --cfg config.yaml

Testing:

python ../tools/test.py 

Citation

If you're using this code in a publication, please cite our paper.

@InProceedings{SiamCorners,
author = {Kai Yang, Zhenyu He, Wenjie Pei, Zikun Zhou, Xin Li, Di Yuan and Haijun Zhang},
title = {SiamCorners: Siamese Corner Networks for Visual Tracking},
booktitle = {IEEE Transactions on Multimedia},
month = {April},
year = {2021}
}

Acknowledgment

Our anchor-free tracker is based on PySot and CornerNet. We sincerely thank the authors Bo Li and Hei Law for providing these great works.

Contact

If you have any questions, please feel free to contact [email protected]

siamcorners's People

Contributors

yangkai12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cv-ip 15738897318

siamcorners's Issues

Trained network

Hi,

Thanks for your great work! Can you upload a trained parameter file? I want to do some comparison with your algorithm on a self-collected dataset.

Thanks

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.