Giter Site home page Giter Site logo

siamrpn-pytorch's Introduction

I got on OTB2015 result 8.41 and 0.625 without RPN. In the SiamFusion project

result

SiamRPN-PyTorch

Implementation SiamRPN on PyTorch with GOT-10k dataset

How to run Training

  1. Download the GOT-10k dataset in http://got-10k.aitestunion.com/downloads
  2. Run the train_siamrpn.py script:
cd train

python3 train_siamrpn.py --train_path=/path/to/dataset/GOT-10k/train

How to run Tracking

[Coming Soon]

pip install

pip3 install shapely

How to fix GOT-10k dataset

  1. First you need to delete four videos:
GOT-10k_Train_008628
GOT-10k_Train_008630
GOT-10k_Train_009058  
GOT-10k_Train_009059

Because they are ymin and xmin is greater than the size of the image.

  1. Run the fixed.py script:
python3 fixed.py --dataset_path=/path/to/dataset/GOT-10k/train

After you have new_file.txt file. In this file a lot of information about where the error.

You do not need to change anything yourself, the fixed.py script will do it for you.

My contacts

E-mail: [email protected]

WeChat: tularov_arbi

Authors

Citation

Paper: @InProceedings{Li_2018_CVPR,
author = {Li, Bo and Yan, Junjie and Wu, Wei and Zhu, Zheng and Hu, Xiaolin},
title = {High Performance Visual Tracking With Siamese Region Proposal Network},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2018}
}

siamrpn-pytorch's People

Contributors

arbitularov avatar

Stargazers

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

Watchers

 avatar  avatar

siamrpn-pytorch's Issues

transfer learning strategy

Hi.
Can you please share some transfer learning strategy to start with for Siamese networks
without training from scratch?
thank you

train

When training with the first 500 sequences of GOT-10K, the following error is reported:
You are using "default" experiment, my advice to you is: Copy "default" change folder name and change settings in file "parameters.json"
Traceback (most recent call last):
File "train_siamrpn.py", line 201, in
main()
File "train_siamrpn.py", line 46, in main
seq_dataset = GOT10k(root_dir, subset='train')
File "/usr/local/lib/python3.6/dist-packages/got10k/datasets/got10k.py", line 32, in init
self._check_integrity(root_dir, subset)
File "/usr/local/lib/python3.6/dist-packages/got10k/datasets/got10k.py", line 92, in _check_integrity
raise Exception('Dataset not found or corrupted.')
Exception: Dataset not found or corrupted.

the error during training

File "/home/SiamRPN-PyTorch/train/data.py", line 136, in open
img_mean_d )
File "/home/SiamRPN-PyTorch/train/data.py", line 192, in get_instance_image
instance_img, scale_x = self.crop_and_pad(img, cx, cy, size_x, s_x, img_mean)
File "/home/SiamRPN-PyTorch/train/data.py", line 215, in crop_and_pad
xmin = int(self.round_up(xmin + left))
ValueError: cannot convert float NaN to integer

how can i fix it?

How's the performance?

How‘s the tracking result using GOT-10k as training set compared with the large volume of YouTube-BB?

the error during running tracking

Different from the question from " the error during training". I found that the training is OK, but when running tracking, the error always occur. The message of error is Value Error: cannot convert float NaN to integer. I think this is not the caused by unconverged training.

[Is it ok to train with sequence length ==1 ]

Hi everyone,
I wonder is it make sense to train the model with the sequence length==1.
I ask that because I have the custom dataset for training people detector which do not have any sequence information. i.e I just have the label x,y,w,h, classid for each image.

And I want to train a other model that is like a supplement for the people detector model in our software like when the people detector fail to detect people at the current frame, we can use the SiamRPN to infer the bboxes that likely having object in the current frames based on the detected boxes by people detector in the previous frames
Is it make sense and is there any problem to train the model with sequencce length==1?
What do you guys think?
Thank you

训练数据集

你在got-10k 训练模型嘛?效果比作者在imagenet和youtubb数据集好是吗?

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.