Coder Social home page Coder Social logo

goturn-tensorflow's Introduction

GOTURN-Tensorflow

This is a tensorflow implementation of GOTURN.

Thanks to author David Held for his help of this implementation.

The original paper is:

Learning to Track at 100 FPS with Deep Regression Networks,
David Held, Sebastian Thrun, Silvio Savarese,

The github repo for caffe implementation is given by the authors: davheld/GOTURN

Brief illustration of how this network works:

You can refer to the paper or github repo above for more details.

Environment

  • python3
  • tensorflow 1.0+, both cpu and gpu work fine

How to use it

Finetune for your own dataset

  1. Create a folder, fill in all training images
  2. Create a <train_txt_file>.txt file
    • It should contains target image, searching image and ground-truth bounding box
    • Bounding box is in the form of <x1, y1, x2, y2>, usually from 0 to 1, but exceeding this range is also fine.
    • Example of one line: train/target/000024.jpg,train/searching/000024.jpg,0.29269230769230764,0.22233115468409587,0.7991794871794871,0.7608061002178649
  3. Change related places in train.py
  4. Train it and wait!
python train.py
  1. The log file is train.log by default

Test

  1. Download pretrained model from: GOTURN_MODEL
  2. Uncompress the checkpoints folder, and put it in the root directory of this repo
  3. Test on examples just by running load_and_test.py
python load_and_test.py
  1. The log file is test.log by default

TIPS

Be careful, the output of this network actually always from 0 to 10 thus I multiplied the ground-truth bounding boxes( always ranging from 0 to 1) by 10.

goturn-tensorflow's People

Contributors

tangyuhao avatar

Watchers

James Cloos 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.