Giter VIP home page Giter VIP logo

tgfat's Introduction

[CJA 2023] Template-guided frequency attention and adaptive cross-entropy loss for UAV visual tracking

This is an official pytorch implementation of the 2023 Chinese Journal of Aeronautics paper:

Template-guided frequency attention and adaptive cross-entropy loss for UAV visual tracking
(accepted by Chinese Journal of Aeronautics, DOI: https://doi.org/10.1016/j.cja.2023.03.048)

image

The paper can be downloaded from Chinese Journal of Aeronautics

The models and raw results can be downloaded from BaiduYun.

UAV Tracking

Datasets TGFAT_r50_l234
UAV123(Suc./Pre.) 0.617/0.827
UAVDT(Suc./Pre.) 0.606/0.844

Note:

  • r50_lxyz denotes the outputs of stage x, y, and z in ResNet-50.

Installation

Please find installation instructions in INSTALL.md.

Quick Start: Using TGFAT

Add SmallTrack to your PYTHONPATH

export PYTHONPATH=/path/to/TGFAT:$PYTHONPATH

demo

python tools/demo.py \
    --config experiments/siamban_mobilev2_l234/config.yaml \
    --snapshot experiments/siamban_mobilev2_l234/MobileTrack.pth
    --video demo/bag.avi

Download testing datasets

Download datasets and put them into testing_dataset directory. Jsons of commonly used datasets can be downloaded from Google Drive or BaiduYun. If you want to test tracker on new dataset, please refer to pysot-toolkit to setting testing_dataset.

Test tracker

cd experiments/siamban_mobilev2_l234
python -u ../../tools/test.py 	\
	--snapshot TGFAT.pth 	\ # model path
	--dataset UAV123 	\ # dataset name
	--config config.yaml	  # config file

The testing results will in the current directory(results/dataset/model_name/)

Eval tracker

assume still in experiments/siamban_mobilev2_l234

python ../../tools/eval.py 	 \
	--tracker_path ./results \ # result path
	--dataset UAV123         \ # dataset name
	--num 1 		 \ # number thread to eval
	--tracker_prefix 'ch*'   # tracker_name

Training ๐Ÿ”ง

See TRAIN.md for detailed instruction.

Acknowledgement

The code based on the PySOT , SiamBAN , FcaNet and SiamCAN

We would like to express our sincere thanks to the contributors.

tgfat's People

Contributors

xyl-507 avatar

Stargazers

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