Long-term Frame-Event Visual Tracking: Benchmark Dataset and Baseline, Xiao Wang, Ju Huang, Shiao Wang, Chuanming Tang, Bo Jiang, Yonghong Tian, Jin Tang, Bin Luo, arXiv:2403.05839 [Paper] [Code] [DemoVideo]
Current event-/frame-event based trackers undergo evaluation on short-term tracking datasets, however, the tracking of real-world scenarios involves long-term tracking, and the performance of existing tracking algorithms in these scenarios remains unclear. In this paper, we first propose a new long-term and large-scale frame-event single object tracking dataset, termed FELT. It contains 742 videos and 1,594,474 RGB frames and event stream pairs and has become the largest frame-event tracking dataset to date. We re-train and evaluate 15 baseline trackers on our dataset for future works to compare. More importantly, we find that the RGB frames and event streams are naturally incomplete due to the influence of challenging factors and spatially sparse event flow. In response to this, we propose a novel associative memory Transformer network as a unified backbone by introducing modern Hopfield layers into multi-head self-attention blocks to fuse both RGB and event data. Extensive experiments on both FELT and RGB-T tracking dataset LasHeR fully validated the effectiveness of our model.
- [2024.03.12] The FELT SOT dataset, baseline, benchmarked results, and evaluation toolkit are all released.
- [2024.03.09] Our arXiv paper is available at [arXiv].
- The demo video for the FELT SOT dataset is available on [Youtube].
- Install environment using conda
conda create -n amttrack python=3.8
conda activate amttrack
bash install.sh
- Run the following command to set paths for this project
python tracking/create_default_local_file.py --workspace_dir . --data_dir ./data --save_dir ./output
- After running this command, you can also modify paths by editing these two files
lib/train/admin/local.py # paths about training
lib/test/evaluation/local.py # paths about testing
-
Then, put the tracking datasets FELT in
./data
. -
Download pre-trained MAE ViT-Base weights and put it under
$/pretrained_models
-
Download the trained model weights from AMTTrack_ep0050.pth and put it under
$/output/checkpoints/train/amttrack/amttrack_felt
for test directly. -
[Note] If you need the event voxel, please use the script [event_to_voxel_felt.py] to transform the event point for the voxel. For the construction of baseline trackers (from RGB tracker to RGB-event tracker) to compare, in this benchmark, we fuse the RGB frame and event data using the script [fusion_rgb_event_image.py]. Please check them for more detailed information.
# train
python tracking/train.py --script amttrack --config amttrack_felt --save_dir ./output --mode single --nproc_per_node 1 --use_wandb 0
# test
python tracking/test.py amttrack amttrack_felt --dataset felt --threads 1 --num_gpus 1
Note: The speeds reported in our paper were tested on a single RTX 3090 GPU.
- BaiduYun:
https://pan.baidu.com/s/12ur7n1wSDvIWajPQJMd8Kg?pwd=AHUT
- DropBox:
https://www.dropbox.com/scl/fo/0n5m12gt30drsha30hgth/h?rlkey=20mpz2oh1etbv8cnsav01bhj5&dl=0
The directory should have the below format:
├── FELT_SOT dataset
├── Training Subset (520 videos, 470.23GB)
├── dvSave-2022_10_11_19_24_36
├── dvSave-2022_10_11_19_24_36_aps
├── dvSave-2022_10_11_19_24_36_dvs
├── dvSave-2022_10_11_19_24_36.aedat4
├── groundtruth.txt
├── absent.txt
├── ...
├── Testing Subset (222 videos, 194.93GB)
├── dvSave-2022_10_11_19_43_03
├── dvSave-2022_10_11_19_43_03_aps
├── dvSave-2022_10_11_19_43_03_dvs
├── dvSave-2022_10_11_19_43_03_dvs.aedat4
├── groundtruth.txt
├── absent.txt
├── ...
- Download the FELT_eval_toolkit from FELT_eval_toolki (Passcode:AHUT), and open it with Matlab (over Matlab R2020).
- add your tracking results and baseline results (Passcode:AHUT) in
$/felt_tracking_results/
and modify the name in$/utils/config_tracker.m
- run
Evaluate_FELT_benchmark_SP_PR_only.m
for the overall performance evaluation, including SR, PR, NPR. - run
plot_BOC.m
for BOC score evaluation and figure plot. - run
plot_radar.m
for attributes radar figrue plot. - run
Evaluate_FELT_benchmark_attributes.m
for attributes analysis and figure saved in$/res_fig/
.
[CEUTrack] [VisEvent] [FE108] [Awesome_Modern_Hopfield_Networks] [OSTrack]
If you think this project is helpful, please feel free to leave a star ⭐️ and cite our paper:
@misc{wang2024FELTSOT,
title={Long-term Frame-Event Visual Tracking: Benchmark Dataset and Baseline},
author={Xiao Wang and Ju Huang and Shiao Wang and Chuanming Tang and Bo Jiang and Yonghong Tian and Jin Tang and Bin Luo},
year={2024},
eprint={2403.05839},
archivePrefix={arXiv},
primaryClass={cs.CV}
}